Re: [PATCH V2 2/2] block: fix "Directory XXXXX with parent 'block' already present!"

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

 



On Mon, Apr 25, 2022 at 09:49:18AM +0200, Christoph Hellwig wrote:
> On Sun, Apr 24, 2022 at 05:24:12PM +0800, Ming Lei wrote:
> > > As the debugfs directory use the name of the gendisk, the lifetime rules
> > > should simply match those of the gendisk.  If anyone wants to trace
> > > SCSI commands sent before probing the gendisk or after removing it
> > > they can use blktrace on the /dev/sg node.
> > 
> > Not sure blktrace can trace on /dev/sg since blktrace works on
> > block_device.
> 
> Unless someone broke it recently it does.  Take a look at all the mess
> it causes in the blktrace code.

But /dev/sg and /dev/sdX can't be opened by blktrace at the same
time.

Thank,
Ming




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux