Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.
Signed-off-by: Vishal Verma
---
drivers/md/md.c | 507 +++-
drivers/md/md.h | 40 +
2 files changed, 23 insertions(+), 524
this copy of the code are ones to generalize
function/variable names from md-specific ones. Also add init and free
functions.
Signed-off-by: Vishal Verma
---
block/Makefile| 2 +-
block/badblocks.c | 523 ++
include/linux/badblocks.h
ks list to
gendisks.
Signed-off-by: Vishal Verma
---
block/genhd.c | 76 +++
include/linux/genhd.h | 7 +
2 files changed, 83 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index 0c706f3..809e3e2 100644
--- a/block/genhd.c
+++ b/blo
this copy of the code are ones to generalize
function/variable names from md-specific ones. Also add init and free
functions.
Signed-off-by: Vishal Verma
---
block/Makefile| 2 +-
block/badblocks.c | 576 ++
include/linux/badblocks.h
Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.
Signed-off-by: Vishal Verma
---
drivers/md/md.c | 516 +++-
drivers/md/md.h | 40 +
2 files changed, 28 insertions(+), 528
sure the sysfs entries show up, and can be used to add and view
badblocks. A closer look by the md folks would be nice here.
Vishal Verma (3):
badblocks: Add core badblock management code
block: Add badblock management for gendisks
md: convert to use the generic badblocks code
block/Makefil
reated a raid 1 device,
made sure the sysfs entries show up, and can be used to add and view
badblocks. A closer look by the md folks would be nice here.
Vishal Verma (3):
badblocks: Add core badblock management code
block: Add badblock management for gendisks
md: convert to use the ge
Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.
Signed-off-by: Vishal Verma
---
drivers/md/md.c | 516 +++-
drivers/md/md.h | 40 +
2 files changed, 28 insertions(+), 528
ks list to
gendisks.
Signed-off-by: Vishal Verma
---
block/genhd.c | 76 +++
include/linux/genhd.h | 7 +
2 files changed, 83 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index e5cafa5..81dcf32 100644
--- a/block/genhd.c
+++ b/blo
this copy of the code are ones to generalize
function/variable names from md-specific ones. Also add init and free
functions.
Signed-off-by: Vishal Verma
---
block/Makefile| 2 +-
block/badblocks.c | 576 ++
include/linux/badblocks.h
ks list to
gendisks.
Signed-off-by: Vishal Verma
---
block/genhd.c | 76 +++
include/linux/genhd.h | 7 +
2 files changed, 83 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index e5cafa5..81dcf32 100644
--- a/block/genhd.c
+++ b/blo
Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.
Signed-off-by: Vishal Verma
---
drivers/md/md.c | 516 +++-
drivers/md/md.h | 40 +
2 files changed, 28 insertions(+), 528
this copy of the code are ones to generalize
function/variable names from md-specific ones. Also add init and free
functions.
Signed-off-by: Vishal Verma
---
block/Makefile| 2 +-
block/badblocks.c | 561 ++
include/linux/badblocks.h
in preparation for use
by NVDIMM devices).
Patch 3 converts md over to use the new badblocks 'library'. I have
done some pretty simple testing on this - created a raid 1 device,
made sure the sysfs entries show up, and can be used to add and view
badblocks. A closer look by the md folks
DAX faults on such a device.
Signed-off-by: Vishal Verma
---
This really is a copy-paste + a few modifications of the badblock management
code + sysfs representation from md.
In this RFC, I want to make sure this path sounds acceptable for the use case
described above, for NVDIMMs. Eventu
ks list to
gendisks.
Signed-off-by: Vishal Verma
---
block/genhd.c | 64 +++
include/linux/genhd.h | 6 +
2 files changed, 70 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index 0c706f3..4209c32 100644
--- a/block/genhd.c
+++ b/blo
reated a raid 1 device,
made sure the sysfs entries show up, and can be used to add and view
badblocks. A closer look by the md folks would be nice here.
Vishal Verma (3):
badblocks: Add core badblock management code
block: Add badblock management for gendisks
md: convert to use the generic
Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.
Signed-off-by: Vishal Verma
---
drivers/md/md.c | 495 +++-
drivers/md/md.h | 31 +---
2 files changed, 21 insertions(+), 505
this copy of the code are ones to generalize
function/variable names from md-specific ones. Also add init and free
functions.
Signed-off-by: Vishal Verma
---
include/linux/badblocks.h | 512 ++
1 file changed, 512 insertions(+)
create mode 100644 include
ks list to
gendisks.
Signed-off-by: Vishal Verma
---
block/genhd.c | 81 +++
include/linux/genhd.h | 6
2 files changed, 87 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index 0c706f3..84fd65c 100644
--- a/block/genhd.c
+++ b/blo
md folks would be nice here.
Vishal Verma (3):
badblocks: Add core badblock management code
block: Add badblock management for gendisks
md: convert to use the generic badblocks code
block/Makefile| 2 +-
block/badblocks.c | 523 +
21 matches
Mail list logo