* KIOBUFS ??
@ 2001-01-10 8:28 Andre Hedrick
2001-01-11 17:04 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Andre Hedrick @ 2001-01-10 8:28 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
LT,
Will this maddness insure that the granularity of the request will be
dependent to the k_dev_t? Specifically, can one make KIOBUFS do the
sizing of buffer to match the ideal or specified size limits imposed by a
given block device? Otherwise I will need to design an sub-request layer
to reduce the pain of restarting the entire request because of the huge
DMA-PRD-Chain that has no clue how to report error location and allow a
restart from NxPRD's before the error.
Cheers,
Andre Hedrick
Linux ATA Development
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KIOBUFS ??
2001-01-10 8:28 KIOBUFS ?? Andre Hedrick
@ 2001-01-11 17:04 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2001-01-11 17:04 UTC (permalink / raw)
To: Andre Hedrick; +Cc: Linus Torvalds, linux-kernel
On Wed, Jan 10 2001, Andre Hedrick wrote:
>
> LT,
>
> Will this maddness insure that the granularity of the request will be
> dependent to the k_dev_t? Specifically, can one make KIOBUFS do the
> sizing of buffer to match the ideal or specified size limits imposed by a
> given block device? Otherwise I will need to design an sub-request layer
> to reduce the pain of restarting the entire request because of the huge
> DMA-PRD-Chain that has no clue how to report error location and allow a
> restart from NxPRD's before the error.
Take a look at the XFS tree. I wrote IDE kiobuf support for that, and
it simply doesn't take the request the queue before it has been
completed (which may take many start-ups for a huge request). But unless
you can make the prd table bigger (which doesn't make much sense anyway),
I don't see any harm in setting up sg for each iteration.
--
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-11 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 8:28 KIOBUFS ?? Andre Hedrick
2001-01-11 17:04 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox