Re: hfs support for blocksize != 512

From: Alexander Viro (viro@math.psu.edu)
Date: Tue Aug 29 2000 - 13:33:39 EST


On Tue, 29 Aug 2000, Roman Zippel wrote:

> hfs. For example reading from a file might require a read from a btree
> file (extent file), with what another file write can be busy with (e.g.
> reordering the btree nodes).

And?

> I really would prefer that a fs could sleep _and_ can use semaphores,
> that would keep locking simple, otherwise it gets only a fscking mess.

WTF? HFS does not allow holes. _ALL_ allocations there are process
synchronous. What's the problem? Pageout on HFS can not allocate blocks
and that's the only process-async method. If you want to sleep at
completely arbitrary moments while you are modifying the btree (i.e.
in the moments when it's in the inconsistent state and hfs_get_block()
would fail) - too bad, you are going to have problems. And not from me -
power failure will take care of making your life _very_ painful.

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:24 EST