Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 08:05:18 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        dufault@hda.com (Peter Dufault), tlambert@primenet.com (Terry Lambert), ryan@sasknow.com (Ryan Thompson), freebsd-hackers@FreeBSD.ORG
Subject:   Re: Filesystem holes
Message-ID:  <200010311605.e9VG5IL18693@earth.backplane.com>
References:   <200010311427.HAA27852@usr06.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:to hold a write lock on the range you didn't want rewritten; so
:long as it honors the advisory locks, there'd be no chance of it
:screwing up, unless you got bit by the stupid POSIX lock close
:semantics.  Stupid POSIX; that's the other one I'd put in: the
:ability to:
:
:	int	i = 1;
:
:	fcntl( fd, F_NONPOSIX, &i);
:
:It would help out the NFS locking daemon to no end...
:
:					Terry Lambert
:					terry@lambert.org

    We could implement this trivially, and I'm pretty sure we could
    implement some sort of free-space semantics trivially too, at least
    for UFS, using a struct flock to pass the parameters to a fcntl.

						-Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010311605.e9VG5IL18693>