Re: [PATCH] block/blk-core.c: print readable string instead of values.

2014-04-14 Thread Jianyu Zhan
Hi, Joe Perches, I think your suggestion is more desirable. The message is too long, I broke it into two lines. Thanks. ---<8--- Also print the r/w direction string instead of only internal values. Suggested-by: Joe Perches Signed-off-by: Jianyu Zhan --- block/blk-core.c | 6 +++--- 1 file

Re: [PATCH] block/blk-core.c: print readable string instead of values.

2014-04-14 Thread Joe Perches
On Mon, 2014-04-14 at 15:00 -0700, Muthukumar R wrote: > FYI, bi_rw tracks more than WRITE or READ... > > On Sat, Apr 12, 2014 at 12:22 AM, Jianyu Zhan wrote: > > Print the r/w direction string instead of internal values. [] > > diff --git a/block/blk-core.c b/block/blk-core.c [] > > @@ -1625,9 +

Re: [PATCH] block/blk-core.c: print readable string instead of values.

2014-04-14 Thread Muthukumar R
FYI, bi_rw tracks more than WRITE or READ... On Sat, Apr 12, 2014 at 12:22 AM, Jianyu Zhan wrote: > Print the r/w direction string instead of internal values. > > Signed-off-by: Jianyu Zhan > --- > block/blk-core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/blo

[PATCH] block/blk-core.c: print readable string instead of values.

2014-04-12 Thread Jianyu Zhan
Print the r/w direction string instead of internal values. Signed-off-by: Jianyu Zhan --- block/blk-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index a0e3096..0a3bde3 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1