* ioctl for max_sectors
@ 2005-10-10 4:39 Karthik Sarangan
2005-10-10 14:16 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Karthik Sarangan @ 2005-10-10 4:39 UTC (permalink / raw)
To: Linux SCSI Mailing List
With what ioctl can I retrieve the max_sectors count of struct
Scsi_Host_Template?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ioctl for max_sectors
2005-10-10 4:39 ioctl for max_sectors Karthik Sarangan
@ 2005-10-10 14:16 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2005-10-10 14:16 UTC (permalink / raw)
To: Karthik Sarangan; +Cc: Linux SCSI Mailing List
On Mon, Oct 10 2005, Karthik Sarangan wrote:
> With what ioctl can I retrieve the max_sectors count of struct
> Scsi_Host_Template?
You don't, see /sys/block/sdX/queue/max_sectors_kb and
max_hw_sectors_kb. The latter is the hardware advertised max value, the
former is the one the block layer uses. You can only change the former,
which can of course never exceed the latter.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-10 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-10 4:39 ioctl for max_sectors Karthik Sarangan
2005-10-10 14:16 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).