]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/md/md.h
md: add 'write_error' flag to component devices.
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:31:48 +0000 (11:31 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:31:48 +0000 (11:31 +1000)
commitd7a9d443bc8a75a24873c0506f50051edfedc714
tree6255771f6cca87698dcc8eb11d62e7fc217b8d0b
parent06f603851fa90bcd236328438278d4dc8b655495
md: add 'write_error' flag to component devices.

If a device has ever seen a write error, we will want to handle
known-bad-blocks differently.
So create an appropriate state flag and export it via sysfs.

Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
drivers/md/md.c
drivers/md/md.h