Re: [PATCH v10 03/11] scsi: sd: Translate data lifetime information

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

 



On 11/03/2024 17:14, Bart Van Assche wrote:
I have been testing a recent linux-next (which includes this change), and I now see this following kernel log just for writing to the bdev file, like:

# mnt/test-pwritev2 -d -l 512 -p 512 /dev/sda
wrote 512 bytes at pos 512 write_size=512
# [   22.339526] sd 0:0:0:0: [sda] permanent stream count = 5

Is that log really required, especially at info level?

That is a scsi_debug disk - I assume that the relevant io hint feature is now default enabled there.

Hi John,

How about removing the sd_printk() call mentioned above and adding a
sysfs attribute instead that reports the number of permanent streams?

A sysfs entry sounds reasonable, but I don't know enough about this stream count to say whether that really is a good idea.

Thanks,
John




[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