lkml.org 
[lkml]   [2009]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/7] blktrace: report EBUSY correctly

* Arnaldo Carvalho de Melo <acme@redhat.com> wrote:

> Em Fri, Mar 20, 2009 at 09:49:08AM +0800, Li Zefan escreveu:
> > blk_trace_remove_queue() returns EINVAL if q->blk_trace == NULL,
> > but blk_trace_setup_queue() doesn't return EBUSY if q->blk_trace != NULL.
> >
> > # echo 0 > sdaX/trace/enable
> > # echo 0 > sdaX/trace/enable
> > bash: echo: write error: Invalid argument
> > # echo 1 > sdaX/trace/enable
> > # echo 1 > sdaX/trace/enable
> > (should return EBUSY)
> >
> > Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
>
> Thanks for all the testing, its being really appreciated,
>
> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>

thanks Arnaldo - i've added your acks to tip:tracing/blktrace.

Jens, are the changes fine with you too, can i merge them into
tracing/core, for v2.6.30?

Ingo


\
 
 \ /
  Last update: 2009-03-21 16:23    [W:0.095 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site