Re: [PATCH v2][trace-cmd] blk plugin: replace BLK_TC_BARRIER withBLK_TC_FLUSH/BLK_TC_FUA

From: Steven Rostedt
Date: Mon Jan 09 2012 - 16:03:46 EST


On Mon, 2012-01-09 at 11:30 +0000, Stefan Hajnoczi wrote:
> The BLK_TC_BARRIER flag was dropped in Linux commit c09c47caedc in
> August 2011. The blk plugin fails to build against recent kernel
> headers. Since no flag bits were left, the new BLK_TC_FLUSH flag reused
> the BLK_TC_BARRIER bit. The new BLK_TC_FUA flag was also added.
>
> This patch updates fill_rwbs() to reflect the new
> BLK_TC_FLUSH/BLK_TC_FUA flags. This allows plugin_blk.c to build
> successfully on recent kernels. Most of the patch deals with detecting
> old vs new kernel headers so we can build successfully on both.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx>



Thanks, applied!

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/