Re: [PATCH] Only use MSDOS-Partitions by default on X86

From: Jens Axboe (axboe@suse.de)
Date: Tue May 06 2003 - 13:49:14 EST


On Tue, May 06 2003, Nicolas Pitre wrote:
> On Tue, 6 May 2003, Jens Axboe wrote:
>
> > On Tue, May 06 2003, Alan Cox wrote:
> > > On Maw, 2003-05-06 at 18:23, Nicolas Pitre wrote:
> > > > According to Alan it's nearly possible to configure the block layer out
> > > > entirely, which would be a good thing to associate with a CONFIG_DISK option
> > > > too.
> > >
> > > David Woodhouse I believe..
> >
> > Are we talking about everything below submit_bh/bio? Shouldn't be too
> > hard to write a small no-block.c for that...
>
> The idea is to configure out everything not needed when only NFS and/or JFFS
> (which doesn't rely on the block layer to work) are used. Pretty useful for
> networked or embedded machines.

I see, that would indeed be a bigger job :). Just the block layer would
not be hard, especially if you make the restriction that the block
drivers usable would be ones that used a make_request strategy for
handling requests. That would allow you to kill ll_rw_blk.c,
deadline-iosched.c, and elevator.c. That's some 21k of text and 2k of
data on this box.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:28 EST