lkml.org 
[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: hfs support for blocksize != 512


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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.054 / U:7.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site