On Wed, Feb 09, 2000 at 02:30:13PM -0500, Alexander Viro wrote:
>
>
> On Wed, 9 Feb 2000 [EMAIL PROTECTED] wrote:
>
> > with 2k blocks and 128 byte fragments, we get to really reduce wasted
> > space below any other system i've ever experienced.
>
> Erm... I'm afraid that you are missing the point. You will get the
> hardware sectors shared between the files. And you can't pass requess
> smaller than that. _And_ you have to lock the bh when you do IO. Now,
> estimate the fun with deadlocks...
This requires Ben's work to decouple the ext2 allocation size from the
hardware page size. We would _always_ want to write out a fragment block
as one to ensure that the fragment descriptor wasn't at odds with the
contents of the block. Imagine the descriptor not being written out after
the block was compacted.