About BLKSECTGET in sg

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

 



Hi,

Is BLKSECTGET in sg intentionally kept "broken" (i.e. it gives out
max_sectors in bytes) or is it just a miss? I'm just wondering if I
should send a patch to fix it (and implement BLKSSZGET).

Also, shouldn't max_sectors_bytes() in both drivers/scsi/sg.c and
block/scsi_ioctl.c use queue_logical_block_size() instead?

Regards,
Tom



[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