diff options
author | Jianpeng Ma <majianpeng@gmail.com> | 2012-08-02 09:50:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-08-02 09:50:39 +0200 |
commit | 53362a05ae683e12a20d9ffdf58a88094a0bed9d (patch) | |
tree | ec4791a0b8277ebb75608e7d22f16d646c1d60e1 /block/blk-merge.c | |
parent | block: split discard into aligned requests (diff) | |
download | linux-53362a05ae683e12a20d9ffdf58a88094a0bed9d.tar.xz linux-53362a05ae683e12a20d9ffdf58a88094a0bed9d.zip |
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>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions