From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: gshan <gshan@alcatel-lucent.com>
Cc: Jens Axboe <jens.axboe@oracle.com>,
linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: how to limit number of sectors each time
Date: Fri, 17 Oct 2008 18:47:00 +0200 [thread overview]
Message-ID: <200810171847.00687.bzolnier@gmail.com> (raw)
In-Reply-To: <48F6DD54.70004@alcatel-lucent.com>
[ added linux-ide@ to cc:, please use it for ATA questions ]
On Thursday 16 October 2008, gshan wrote:
>
> > (please never send out html only emails, it's considered very bad style
> > on this list)
> >
> > Sounds like you need a quirk/blacklist entry for that drive, if it
> > doesn't support 0x00 as meaning 256 sectors. If you are using libata,
> > you can add a ATA_HORKAGE_MAX_SEC_128 entry to ata_device_blacklist[] in
> > drivers/ata/libata-core.c
> >
> I'm using IDE driver instead of HD driver.
Then you need to add check for this device to ide_disk_setup()
(prior to blk_queue_max_sectors() call) in drivers/ide/ide-disk.c.
Thanks,
Bart
prev parent reply other threads:[~2008-10-17 16:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 3:29 how to limit number of sectors each time gshan
2008-10-16 5:44 ` Jens Axboe
[not found] ` <48F6DA7A.9080003@alcatel-lucent.com>
[not found] ` <20081016061808.GS19428@kernel.dk>
2008-10-16 6:21 ` gshan
2008-10-16 6:25 ` Jens Axboe
2008-10-16 6:28 ` gshan
2008-10-17 16:47 ` Bartlomiej Zolnierkiewicz [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=200810171847.00687.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=gshan@alcatel-lucent.com \
--cc=jens.axboe@oracle.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.