linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disabling block layer
@ 2007-03-26 19:59 Mark Lobo
  2007-03-26 21:23 ` Douglas Gilbert
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mark Lobo @ 2007-03-26 19:59 UTC (permalink / raw)
  To: linux-scsi

Hello!

I had a question about disabling the block layer for SCSI devices. We
have an embedded device, and it runs 2.4.30. We need to be able to
support a lot of SCSI devices (in the thousands) for our device, and we
talk to the devices via SG. We are facing a memory allocation problem
after discovering a few thousand devices. For every device,  there
seems to be a lot of memory allocated in the block layer. This memory
includes cache memory (which IIRC is reclaimable by the kernel memory
subsystem when it needs it) and also pages that are used for the
alloc_pages pool.



My questions were relating to disabling the block layer for the
devices. We always talk direct passthrough to the storage(except the
local hard disk),  and do not need the block layer at all. 

1. Is there a way to disable the block layer for specific devices?

2. If yes, how can that be done, and  are there any gotchas associated with that?



Thanks!

M


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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

end of thread, other threads:[~2007-03-28 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 19:59 Disabling block layer Mark Lobo
2007-03-26 21:23 ` Douglas Gilbert
2007-03-26 21:35   ` James Bottomley
2007-03-26 22:33 ` Jeremy Linton
2007-03-28 11:24 ` 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).