Re: bloated workload of SCSI commands at attachment

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

 



Doug,

> What seems to be to be new is the three repeated sequence involving
> the "a3 0c" command. That is REPORT SUPPORTED OPERATION CODES.
> Why is the same sequence repeated 3 times?

One invocation is probably partition scanning.

sd_probe calls revalidate twice. It used to be a somewhat tricky dance
of doing it once to get basic device properties, then allocating the
gendisk, and finally doing another revalidate pass to fill out the
remaining fields that had a dependency on a gendisk being instantiated.

Given some of the recent block changes, I am not entirely sure two calls
are required. Would be interesting to test...

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux