Re: A feature??

2007-05-20 Thread John Anthony Kazos Jr.
I am not a FS guru so please tell me where to get off if I sound stupid. After lurking for some time I have come up with something that may be of interest as a feature: If EXT4 were to pr-allocate a configurable amount of space for a special file and then use that file as a new EXT4

ext3, BKL, journal replay, multiple non-bind mounts of same device

2007-04-10 Thread John Anthony Kazos Jr.
Since it is possible for the same block device to be mounted multiple times concurrently by the same filesystem, and since ext3 explicitly disables the BKL during its fill_super operation which would prevent this, what is the result of mounting it multiple times this way? Especially if the

(un)lock_kernel() ?

2007-04-04 Thread John Anthony Kazos Jr.
Why does ext4_fill_super release the BKL on entry and take it on both normal and abnormal exit? As far as I can see, ext4_fill_super is called by get_sb_bdev, which calls the -get_sb method without the BKL, and ext4_get_sb calls get_sb_bdev without the BKL. And the ext2 code does not touch the

Re: (un)lock_kernel() ?

2007-04-04 Thread John Anthony Kazos Jr.
According to Documentation/filesystems/Locking, -get_sb() is called with the BKL held, but looking through the code, I'm not able to find where it is being taken. I noticed that too. Unless I'm just dumb and can't see it, I'm not able to find any BKL references during filesystem mounting