[sheepdog] [PATCH 2/4] farm: add basic concurrent support

Christoph Hellwig hch at infradead.org
Fri May 18 16:18:28 CEST 2012


On Fri, May 18, 2012 at 10:16:32PM +0800, Liu Yuan wrote:
> Compared to actual disk IO, the locking overhead can be neglected. I
> think use kernel's strcut flock is simplest method, otherwise we would
> keep track of a huge memory for lock structures.

That's not nessecarily true with fast enough storage devices.  I'm fine
with using lockf for now to get things going, but doing something
smarted is something I'll put in my todo list.




More information about the sheepdog mailing list