[dm-devel] use WRITE_FLUSH instead of REQ_FLUSH

Mike Snitzer snitzer at redhat.com
Mon Jan 7 14:23:49 UTC 2013


On Mon, Jan 07 2013 at 12:12am -0500,
Mikulas Patocka <mpatocka at redhat.com> wrote:

> Hi Alasdair
> 
> Please push this patch to 3.8 kernel. (I already sent it before, but it 
> was forgotten somehow).
> 
> Mikulas
> 
> ---
> 
> dm-bufio: use WRITE_FLUSH instead of REQ_FLUSH
> 
> Use WRITE_FLUSH instead of REQ_FLUSH to make it consistent with the rest
> of the kernel. There is no functional change - the kernel accepts either
> WRITE_FLUSH or REQ_FLUSH.

Well the important distinction is the flush bio is originating in
dm-bufio whereas other DM targets that test for REQ_FLUSH are just
passing the flush through.  Saying as much makes the need for this patch
more explicit.




More information about the dm-devel mailing list