linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* jgarzik and max-sectors: out of memory
@ 2006-05-27 19:37 Jeff Garzik
  2006-05-27 19:49 ` Mark Lord
  2006-05-27 20:43 ` Jens Axboe
  0 siblings, 2 replies; 10+ messages in thread
From: Jeff Garzik @ 2006-05-27 19:37 UTC (permalink / raw)
  To: linux-ide@vger.kernel.org
  Cc: Tejun Heo, Alan Cox, Mark Lord, Jens Axboe, Hannes Reinecke

ATA_MAX_SECTORS is 200, rather than than 256 like it should be.  I seem 
to recall that this was due to libata being incomplete in some area, but 
I've tried in vain for a year to remember where the alleged 
incompleteness was, to no avail.  So, my brain is out of memory :)

Further -- someone with a long ATA memory correct me -- I think that we 
can increase ATA_MAX_PRD beyond 256.  Most DMA engines should just keep 
chugging along, provided that we continue to respect the 64k IDE DMA 
boundaries.

So, I propose that we rename ATA_MAX_SECTORS to ATA_LBA28_SECTORS, and 
change its value to 256, and see what happens.  People have reported 
that that worked for them, so let's subject it to a wide test.  If 
people are extremely paranoid, we could increase it to 255, and then in 
the next kernel version, bump it from 255 to 256.

Then we can look at increasing ATA_MAX_PRD, if that's feasible for PATA 
hardware.

	Jeff



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-05-30  9:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-27 19:37 jgarzik and max-sectors: out of memory Jeff Garzik
2006-05-27 19:49 ` Mark Lord
2006-05-27 20:02   ` Jeff Garzik
2006-05-27 20:43 ` Jens Axboe
2006-05-30  4:58   ` Jeff Garzik
2006-05-30  8:36     ` Jens Axboe
2006-05-30  9:02       ` Jeff Garzik
2006-05-30  9:10         ` Jens Axboe
2006-05-30  9:15           ` Jeff Garzik
2006-05-30  9:25             ` 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).