On Mon, 05 Nov 2007 09:05:48 +0900 Tejun Heo <[email protected]> wrote: > Alan Cox wrote: > >> Maybe we could set a limit here. If the ATAPI device keeps DRQ=1 and > >> exceeds the limit, we consider it as HSM violation and have EH handle it. > > > > On a DMA transfer its basically out of our control (and a PIO drain will > > lock some controllers solid until power cycle), > > Do such controllers lock up on PIO draining after PIO transfers too? > Can you tell which are those controllers? Promise PDC202xx will lock on a PIO drain of a DMA transfer or (if you reset it before you drain) on a PIO drain of a PIO transfer. > > but on PIO we know we > > never set a chunk size over 64K, so if we exceed 64K its time to apply a > > larger hammer > > Draining is related to the amount of data the drive responds not to the > chunk size. I agree 64k should be enough for most cases but I think > there can be corner cases where this doesn't hold. Tapes perhaps yes ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Jens Axboe <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Jeff Garzik <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Jeff Garzik <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Tejun Heo <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Tejun Heo <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Daniel Drake <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Tejun Heo <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Albert Lee <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Alan Cox <[email protected]>
- Re: "Fix ATAPI transfer lengths" causes CD writing regression
- From: Tejun Heo <[email protected]>
- "Fix ATAPI transfer lengths" causes CD writing regression
- Prev by Date: Re: [PATCH 5/6] drivers/video/ps3fb: fix memset size error
- Next by Date: Re: RFC: Reproducible oops with lockdep on count_matching_names()
- Previous by thread: Re: "Fix ATAPI transfer lengths" causes CD writing regression
- Next by thread: Re: "Fix ATAPI transfer lengths" causes CD writing regression
- Index(es):