commit | 53362a05ae683e12a20d9ffdf58a88094a0bed9d | [log] [tgz] |
---|---|---|
author | Jianpeng Ma <majianpeng@gmail.com> | Thu Aug 02 09:50:39 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 09:50:39 2012 +0200 |
tree | ec4791a0b8277ebb75608e7d22f16d646c1d60e1 | |
parent | c6e666345e1b79c62ba82339cc7d55a89cb73f88 [diff] |
fs/block-dev.c:fix performance regression in O_DIRECT writes to md block devices For regular file, write operaion used blk_plug function.But for block file,write operation did not use blk_plug. This patch is also for write-cache mode for block-device. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>