[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1326143024.7642.39.camel@gandalf.stny.rr.com>
Date: Mon, 09 Jan 2012 16:03:44 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, Namhyung Kim <namhyung@...il.com>
Subject: Re: [PATCH v2][trace-cmd] blk plugin: replace BLK_TC_BARRIER with
BLK_TC_FLUSH/BLK_TC_FUA
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@...ux.vnet.ibm.com>
Thanks, applied!
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists