]> git.baikalelectronics.ru Git - kernel.git/commit
md-cluster: complete all write requests before adding suspend_info
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Fri, 14 Aug 2015 17:19:40 +0000 (12:19 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 12 Oct 2015 06:29:59 +0000 (01:29 -0500)
commit46cb88baf9a4934d7d3a47842b6fff9a24e33254
tree87d793d755b2d5128a524d935904ae1a7159d15a
parentbffa8829ffef8786f0af48a067e1013f1269bc81
md-cluster: complete all write requests before adding suspend_info

process_suspend_info - which handles the RESYNCING request - must not
reply until all writes which were initiated before the request arrived,
have completed.

As a by-product, all process_* functions now take mddev as their
first arguement making it uniform.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md-cluster.c