[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090320131017.GN30407@ghostprotocols.net>
Date: Fri, 20 Mar 2009 10:10:17 -0300
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: Ingo Molnar <mingo@...e.hu>, Jens Axboe <jens.axboe@...cle.com>,
Steven Rostedt <rostedt@...dmis.org>,
Frederic Weisbecker <fweisbec@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/7] blktrace: report EBUSY correctly
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@...fujitsu.com>
Thanks for all the testing, its being really appreciated,
Acked-by: Arnaldo Carvalho de Melo <acme@...hat.com>
- Arnaldo
--
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