raid5: support sync request
authorShaohua Li <shli@kernel.org>
Tue, 22 May 2012 03:55:05 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:05 +0000 (13:55 +1000)
commitbc0934f0477d0a2350a478004799d9c064923b7b
tree9ca749760c19637a941e7eed76652e7da298687c
parentcceeca43b5ad96766098144a3fd757e03de9f6f8
raid5: support sync request

REQ_SYNC is ignored in current raid5 code. Block layer does use it to do
policy,
for example ioscheduler. This patch adds it.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c
drivers/md/raid5.h