]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
md: suspend i/o during runtime blk_integrity_unregister
authorDan Williams <dan.j.williams@intel.com>
Wed, 21 Oct 2015 17:20:02 +0000 (13:20 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 21 Oct 2015 20:43:38 +0000 (14:43 -0600)
commitc7bfced9a6716ff66c9d61f934bb60af08d4688c
treeca3febf875a4365478296b2993c635899fe1416b
parent9609b9942b180a50b0162419abd2932a41117fe9
md: suspend i/o during runtime blk_integrity_unregister

Synchronize pending i/o against a change in the integrity profile to
avoid the possibility of spurious integrity errors.  Given linear_add()
is suspending the mddev before manipulating the mddev, do the same for
the other personalities.

Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid10.c