Re: [RFC] mount flag "direct"

Peter T. Breuer
2002-09-03T16:00:24Z

"A month of sundays ago Maciej W. Rozycki wrote:"
> On Tue, 3 Sep 2002, Rik van Riel wrote:
> > And what if they both allocate the same disk block to another
> > file, simultaneously ?
>
> You need a mutex then. For SCSI devices a reservation is the way to go
> -- the RESERVE/RELEASE commands are mandatory for direct-access devices,
> so thy should work universally for disks.

Is there provision in VFS for this operation?

(i.e. care to point me at an entry point? I just grepped for "reserve"
and came up with nothing useful).

Peter