lkml.org 
[lkml]   [2009]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@cn.fujitsu.com>

    Thanks for all the testing, its being really appreciated,

    Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>

    - Arnaldo


    \
     
     \ /
      Last update: 2009-03-20 14:13    [W:3.111 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site