* fs/Kconfig question regarding CONFIG_BLOCK
@ 2006-10-17 18:41 Jan Engelhardt
2006-10-17 18:57 ` Valdis.Kletnieks
0 siblings, 1 reply; 11+ messages in thread
From: Jan Engelhardt @ 2006-10-17 18:41 UTC (permalink / raw)
To: jens.axboe; +Cc: Linux Kernel Mailing List
(this time hopefully with a working To/Cc)
Hi,
fs/Kconfig has:
if BLOCK
menu "DOS/FAT/NT Filesystems"
...
<stuff here>
...
endmenu
endif
Why is it wrapped into BLOCK, or, why are all of the other filesystems
which require a block device?
-`J'
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-17 18:41 fs/Kconfig question regarding CONFIG_BLOCK Jan Engelhardt
@ 2006-10-17 18:57 ` Valdis.Kletnieks
2006-10-17 19:21 ` Jan Engelhardt
0 siblings, 1 reply; 11+ messages in thread
From: Valdis.Kletnieks @ 2006-10-17 18:57 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: jens.axboe, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
On Tue, 17 Oct 2006 20:41:41 +0200, Jan Engelhardt said:
> fs/Kconfig has:
>
> if BLOCK
> menu "DOS/FAT/NT Filesystems"
> Why is it wrapped into BLOCK, or, why are all of the other filesystems
> which require a block device?
Some filesystems (such as /proc, /sys, and so on - basicaly, the "pseudo" file
systems) are able to stand by themselves. Filesystems that read actual blocks
of data off actual media will require the services of the block layer to do
that. So if you've built a tiny embedded kernel that doesn't include the block
layer, you can't read those sorts of filesystems....
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-17 18:57 ` Valdis.Kletnieks
@ 2006-10-17 19:21 ` Jan Engelhardt
2006-10-17 19:36 ` Jens Axboe
0 siblings, 1 reply; 11+ messages in thread
From: Jan Engelhardt @ 2006-10-17 19:21 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: jens.axboe, Linux Kernel Mailing List
>> fs/Kconfig has:
>>
>> if BLOCK
>> menu "DOS/FAT/NT Filesystems"
>
>> Why is it wrapped into BLOCK, or, why are all of the other filesystems
>> which require a block device?
>
>Some filesystems (such as /proc, /sys, and so on - basicaly, the "pseudo" file
>systems) are able to stand by themselves. Filesystems that read actual blocks
>of data off actual media will require the services of the block layer to do
>that. So if you've built a tiny embedded kernel that doesn't include the block
>layer, you can't read those sorts of filesystems....
Never mind, I see that some filesystems have 'depends on BLOCK' instead
of being wrapped into if BLOCK. Not really consistent but whatever.
-`J'
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-17 19:21 ` Jan Engelhardt
@ 2006-10-17 19:36 ` Jens Axboe
2006-10-17 19:47 ` Jan Engelhardt
0 siblings, 1 reply; 11+ messages in thread
From: Jens Axboe @ 2006-10-17 19:36 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Valdis.Kletnieks, Linux Kernel Mailing List
On Tue, Oct 17 2006, Jan Engelhardt wrote:
>
> >> fs/Kconfig has:
> >>
> >> if BLOCK
> >> menu "DOS/FAT/NT Filesystems"
> >
> >> Why is it wrapped into BLOCK, or, why are all of the other filesystems
> >> which require a block device?
> >
> >Some filesystems (such as /proc, /sys, and so on - basicaly, the "pseudo" file
> >systems) are able to stand by themselves. Filesystems that read actual blocks
> >of data off actual media will require the services of the block layer to do
> >that. So if you've built a tiny embedded kernel that doesn't include the block
> >layer, you can't read those sorts of filesystems....
>
> Never mind, I see that some filesystems have 'depends on BLOCK' instead
> of being wrapped into if BLOCK. Not really consistent but whatever.
Feel free to send in patches that make things more consistent.
--
Jens Axboe
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-17 19:36 ` Jens Axboe
@ 2006-10-17 19:47 ` Jan Engelhardt
2006-10-18 7:09 ` Jens Axboe
0 siblings, 1 reply; 11+ messages in thread
From: Jan Engelhardt @ 2006-10-17 19:47 UTC (permalink / raw)
To: Jens Axboe; +Cc: Valdis.Kletnieks, Linux Kernel Mailing List
>> Never mind, I see that some filesystems have 'depends on BLOCK' instead
>> of being wrapped into if BLOCK. Not really consistent but whatever.
>
>Feel free to send in patches that make things more consistent.
How would you like things? if BLOCK or depends on BLOCK?
Does menuconfig/oldconfig/etc. parse the whole config structure faster
it it done either way?
-`J'
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-17 19:47 ` Jan Engelhardt
@ 2006-10-18 7:09 ` Jens Axboe
2006-10-18 17:56 ` Randy Dunlap
2006-10-21 0:14 ` Horst H. von Brand
0 siblings, 2 replies; 11+ messages in thread
From: Jens Axboe @ 2006-10-18 7:09 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Valdis.Kletnieks, Linux Kernel Mailing List
On Tue, Oct 17 2006, Jan Engelhardt wrote:
> >> Never mind, I see that some filesystems have 'depends on BLOCK' instead
> >> of being wrapped into if BLOCK. Not really consistent but whatever.
> >
> >Feel free to send in patches that make things more consistent.
>
> How would you like things? if BLOCK or depends on BLOCK?
Well, if you can hide an entire block with if BLOCK, then that would be
preferred. Otherwise depends on BLOCK.
> Does menuconfig/oldconfig/etc. parse the whole config structure faster
> it it done either way?
I'd be surprised if if BLOCK wasn't faster over, say, 10 depends on
BLOCK.
--
Jens Axboe
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-18 7:09 ` Jens Axboe
@ 2006-10-18 17:56 ` Randy Dunlap
2006-10-19 12:20 ` Jens Axboe
2006-10-21 0:14 ` Horst H. von Brand
1 sibling, 1 reply; 11+ messages in thread
From: Randy Dunlap @ 2006-10-18 17:56 UTC (permalink / raw)
To: Jens Axboe; +Cc: Jan Engelhardt, Valdis.Kletnieks, Linux Kernel Mailing List
On Wed, 18 Oct 2006 09:09:22 +0200 Jens Axboe wrote:
> On Tue, Oct 17 2006, Jan Engelhardt wrote:
> > >> Never mind, I see that some filesystems have 'depends on BLOCK' instead
> > >> of being wrapped into if BLOCK. Not really consistent but whatever.
> > >
> > >Feel free to send in patches that make things more consistent.
> >
> > How would you like things? if BLOCK or depends on BLOCK?
>
> Well, if you can hide an entire block with if BLOCK, then that would be
> preferred. Otherwise depends on BLOCK.
>
> > Does menuconfig/oldconfig/etc. parse the whole config structure faster
> > it it done either way?
>
> I'd be surprised if if BLOCK wasn't faster over, say, 10 depends on
> BLOCK.
Jens,
Has anyone looked at what BLOCK=n does to mm/page-writeback.c ?
It calls blk_congestion_end(), which isn't there.
mm/built-in.o: In function `writeback_congestion_end':
(.text.writeback_congestion_end+0xc): undefined reference to `blk_congestion_end'
make: *** [.tmp_vmlinux1] Error 1
Command exited with non-zero status 2
---
~Randy
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-18 17:56 ` Randy Dunlap
@ 2006-10-19 12:20 ` Jens Axboe
0 siblings, 0 replies; 11+ messages in thread
From: Jens Axboe @ 2006-10-19 12:20 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Jan Engelhardt, Valdis.Kletnieks, Linux Kernel Mailing List
On Wed, Oct 18 2006, Randy Dunlap wrote:
> On Wed, 18 Oct 2006 09:09:22 +0200 Jens Axboe wrote:
>
> > On Tue, Oct 17 2006, Jan Engelhardt wrote:
> > > >> Never mind, I see that some filesystems have 'depends on BLOCK' instead
> > > >> of being wrapped into if BLOCK. Not really consistent but whatever.
> > > >
> > > >Feel free to send in patches that make things more consistent.
> > >
> > > How would you like things? if BLOCK or depends on BLOCK?
> >
> > Well, if you can hide an entire block with if BLOCK, then that would be
> > preferred. Otherwise depends on BLOCK.
> >
> > > Does menuconfig/oldconfig/etc. parse the whole config structure faster
> > > it it done either way?
> >
> > I'd be surprised if if BLOCK wasn't faster over, say, 10 depends on
> > BLOCK.
>
> Jens,
> Has anyone looked at what BLOCK=n does to mm/page-writeback.c ?
> It calls blk_congestion_end(), which isn't there.
>
> mm/built-in.o: In function `writeback_congestion_end':
> (.text.writeback_congestion_end+0xc): undefined reference to `blk_congestion_end'
> make: *** [.tmp_vmlinux1] Error 1
> Command exited with non-zero status 2
Yeah currently known, with Andrew's latest we should be getting closer.
--
Jens Axboe
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fs/Kconfig question regarding CONFIG_BLOCK
2006-10-18 7:09 ` Jens Axboe
2006-10-18 17:56 ` Randy Dunlap
@ 2006-10-21 0:14 ` Horst H. von Brand
2006-10-21 0:17 ` Jan Engelhardt
1 sibling, 1 reply; 11+ messages in thread
From: Horst H. von Brand @ 2006-10-21 0:14 UTC (permalink / raw)
To: Jens Axboe; +Cc: Jan Engelhardt, Valdis.Kletnieks, Linux Kernel Mailing List
Jens Axboe <jens.axboe@oracle.com> wrote:
> On Tue, Oct 17 2006, Jan Engelhardt wrote:
> > >> Never mind, I see that some filesystems have 'depends on BLOCK' instead
> > >> of being wrapped into if BLOCK. Not really consistent but whatever.
> > >
> > >Feel free to send in patches that make things more consistent.
> >
> > How would you like things? if BLOCK or depends on BLOCK?
>
> Well, if you can hide an entire block with if BLOCK, then that would be
> preferred. Otherwise depends on BLOCK.
>
> > Does menuconfig/oldconfig/etc. parse the whole config structure faster
> > it it done either way?
>
> I'd be surprised if if BLOCK wasn't faster over, say, 10 depends on
> BLOCK.
I'd be /very/ surprised if anybody even noticed...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513
^ permalink raw reply [flat|nested] 11+ messages in thread
* fs/Kconfig question regarding CONFIG_BLOCK
@ 2006-10-17 18:38 Jan Engelhardt
0 siblings, 0 replies; 11+ messages in thread
From: Jan Engelhardt @ 2006-10-17 18:38 UTC (permalink / raw)
To: axboe; +Cc: Linux Kernel Mailing List
Hi,
fs/Kconfig has:
if BLOCK
menu "DOS/FAT/NT Filesystems"
...
<stuff here>
...
endmenu
endif
Why is it wrapped into BLOCK, or, why are all of the other filesystems
which require a block device?
-`J'
--
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-10-21 0:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 18:41 fs/Kconfig question regarding CONFIG_BLOCK Jan Engelhardt
2006-10-17 18:57 ` Valdis.Kletnieks
2006-10-17 19:21 ` Jan Engelhardt
2006-10-17 19:36 ` Jens Axboe
2006-10-17 19:47 ` Jan Engelhardt
2006-10-18 7:09 ` Jens Axboe
2006-10-18 17:56 ` Randy Dunlap
2006-10-19 12:20 ` Jens Axboe
2006-10-21 0:14 ` Horst H. von Brand
2006-10-21 0:17 ` Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2006-10-17 18:38 Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox