From: Jens Axboe <axboe@suse.de>
To: Karthik Sarangan <karthiks@cdac.in>
Cc: Linux SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: ioctl for max_sectors
Date: Mon, 10 Oct 2005 16:16:00 +0200 [thread overview]
Message-ID: <20051010141559.GD7232@suse.de> (raw)
In-Reply-To: <4349F067.1010007@cdac.in>
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
prev parent reply other threads:[~2005-10-10 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-10 4:39 ioctl for max_sectors Karthik Sarangan
2005-10-10 14:16 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051010141559.GD7232@suse.de \
--to=axboe@suse.de \
--cc=karthiks@cdac.in \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).