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
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
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
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