From: Mike Snitzer Date: Wed, 8 Sep 2010 16:07:01 +0000 (+0200) Subject: dm: convey that all flushes are processed as empty X-Git-Tag: v2.6.37-rc1~166^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b372d360df6deaf79a58a02fa0cc0d7e0aa3e92f;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed