]> bbs.cooldavid.org Git - net-next-2.6.git/commit
block: set REQ_TYPE_FS on flush requests
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 9 Jul 2010 00:38:24 +0000 (09:38 +0900)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:52:40 +0000 (18:52 +0200)
commit28e18d0188b9e3ab82ebd09d9b1d1c7f8d1822aa
treecad96b3566ee8da92003689cdba800f8a4f7ca04
parent3b06c21e8462b77186613e70db286cfa8616088b
block: set REQ_TYPE_FS on flush requests

the block layer doesn't set rq->cmd_type on flush requests. By
definition, it should be REQ_TYPE_FS (the lower layers build a command
and interpret the result of it, that is, the block layer doesn't know
the details).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-barrier.c