From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Peschke Date: Wed, 21 Jan 2009 13:58:22 +0000 Subject: [Patch] fix blktrace API (missing commit) Message-Id: <1232546302.466.23.camel@kitka.ibm.com> List-Id: References: <1227542851.9636.27.camel@kitka.ibm.com> In-Reply-To: <1227542851.9636.27.camel@kitka.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-btrace@vger.kernel.org Hi Jens, here is one of two fixes, which have not made it into blktrace yet. I posted them end of last year http://marc.info/?l=linux-btrace&m2754289122259&w=2 Please apply. Thanks, Martin From: Martin Peschke The git commit 11914a53d2ec2974a565311af327b8983d8c820d added __BLK_TA_ABORT to blktrace_api.h. A corresponding addition to the blktrace tools repository has been missing, breaking the API. Blkparse complained: "Bad fs action 40010011" Signed-off-by: Martin Peschke --- blktrace_api.h | 2 ++ 1 file changed, 2 insertions(+) --- a/blktrace_api.h +++ b/blktrace_api.h @@ -48,6 +48,7 @@ enum { __BLK_TA_SPLIT, /* bio was split */ __BLK_TA_BOUNCE, /* bio was bounced */ __BLK_TA_REMAP, /* bio was remapped */ + __BLK_TA_ABORT, /* request aborted */ __BLK_TA_DRV_DATA, /* binary driver data */ }; @@ -78,6 +79,7 @@ enum blktrace_notify { #define BLK_TA_SPLIT (__BLK_TA_SPLIT) #define BLK_TA_BOUNCE (__BLK_TA_BOUNCE) #define BLK_TA_REMAP (__BLK_TA_REMAP | BLK_TC_ACT(BLK_TC_QUEUE)) +#define BLK_TA_ABORT (__BLK_TA_ABORT | BLK_TC_ACT(BLK_TC_QUEUE)) #define BLK_TA_DRV_DATA (__BLK_TA_DRV_DATA | BLK_TC_ACT(BLK_TC_DRV_DATA)) #define BLK_TN_PROCESS (__BLK_TN_PROCESS | BLK_TC_ACT(BLK_TC_NOTIFY))