Re: [PATCH] blktrace: don't stop tracer if not setup trace successfully

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/15/18 8:53 AM, weiping zhang wrote:
> if we run blktrace on same device twice, the second time will failed
> to ioctl(BLKTRACESETUP), then it will call __stop_tracer, which lead
> the first blktrace failed to access debugfs entries. So this patch add
> a check to handle this case, to avoid stop tracer uncondionally.

Thanks, looks good to me, applied.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux