diff options
author | Mike Snitzer <snitzer@redhat.com> | 2010-09-08 18:07:01 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:38 +0200 |
commit | b372d360df6deaf79a58a02fa0cc0d7e0aa3e92f (patch) | |
tree | e103bc03bae17f7a995ba44825aefd5fc5fdba66 /fs/fat | |
parent | 05447420f99c1c44063c7f00054667c022cc1365 (diff) | |
download | op-kernel-dev-b372d360df6deaf79a58a02fa0cc0d7e0aa3e92f.zip op-kernel-dev-b372d360df6deaf79a58a02fa0cc0d7e0aa3e92f.tar.gz |
dm: convey that all flushes are processed as empty
Rename __clone_and_map_flush to __clone_and_map_empty_flush for added
clarity.
Simplify logic associated with REQ_FLUSH conditionals.
Introduce a BUG_ON() and add a few more helpful comments to the code
so that it is clear that all flushes are empty.
Cleanup __split_and_process_bio() so that an empty flush isn't processed
by a 'sector_count' focused while loop.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions