From: Namhyung Kim <namhyung@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Jens Axboe <jaxboe@fusionio.com>,
linux-kernel@vger.kernel.org,
Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH] blktrace: add FLUSH/FUA support
Date: Wed, 08 Jun 2011 12:11:20 +0900 [thread overview]
Message-ID: <1307502680.1351.1.camel@leonhard> (raw)
In-Reply-To: <1307488812.9218.17.camel@gandalf.stny.rr.com>
2011-06-07 (화), 19:20 -0400, Steven Rostedt:
> On Wed, 2011-06-01 at 17:38 +0900, Namhyung Kim wrote:
> > diff --git a/include/trace/events/block.h b/include/trace/events/block.h
> > index bf366547da25..f21fea24216d 100644
> > --- a/include/trace/events/block.h
> > +++ b/include/trace/events/block.h
> > @@ -19,7 +19,7 @@ DECLARE_EVENT_CLASS(block_rq_with_error,
> > __field( sector_t, sector )
> > __field( unsigned int, nr_sector )
> > __field( int, errors )
> > - __array( char, rwbs, 6 )
> > + __array( char, rwbs, 8 )
> > __dynamic_array( char, cmd, blk_cmd_buf_len(rq) )
> > ),
> >
> > @@ -104,7 +104,7 @@ DECLARE_EVENT_CLASS(block_rq,
> > __field( sector_t, sector )
> > __field( unsigned int, nr_sector )
> > __field( unsigned int, bytes )
> > - __array( char, rwbs, 6 )
> > + __array( char, rwbs, 8 )
> > __array( char, comm, TASK_COMM_LEN )
> > __dynamic_array( char, cmd, blk_cmd_buf_len(rq) )
> > ),
> > @@ -183,7 +183,7 @@ TRACE_EVENT(block_bio_bounce,
> > __field( dev_t, dev )
> > __field( sector_t, sector )
> > __field( unsigned int, nr_sector )
> > - __array( char, rwbs, 6 )
> > + __array( char, rwbs, 8 )
> > __array( char, comm, TASK_COMM_LEN )
> > ),
> >
>
>
> Wouldn't it be better to replace all these "6" and "8"'s with a macro?
> Then it would be a heck of a lot easier to change in the future.
>
> -- Steve
>
>
Will fix in the next version, Thanks.
--
Regards,
Namhyung Kim
next prev parent reply other threads:[~2011-06-08 3:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 8:38 [PATCH] blktrace: add FLUSH/FUA support Namhyung Kim
2011-06-07 23:20 ` Steven Rostedt
2011-06-08 3:11 ` Namhyung Kim [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-28 20:21 Jeff Moyer
2011-07-28 23:19 ` Namhyung Kim
2011-07-28 23:19 ` Namhyung Kim
2011-07-29 13:13 ` Jeff Moyer
2011-07-29 13:13 ` Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1307502680.1351.1.camel@leonhard \
--to=namhyung@gmail.com \
--cc=fweisbec@gmail.com \
--cc=jaxboe@fusionio.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.