Help with file locking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Apr 17, 2002 at 03:11:39PM -0600, Andreas Dilger wrote:
> On Apr 17, 2002  21:41 +0100, Stephen C. Tweedie wrote:
> > On Sun, Apr 14, 2002 at 08:07:19AM -0500, John Fraser wrote:
> > > We are working on an application that needs to grab files put onto an ext3
> > > filesystem as soon as they are written.  We've looked at lsof, and other
> > > tools, and are having troubles finding just the right mechanism to tell when
> > > a file has been completely written and the other process has closed the
> > > file.
> > 
> > No such interface exists, but you have the source, you could write one!
 
> Well, see my post/patch yesterday on ext2-devel about adding transaction
> handle IDs to ext3/JBD.

I think this query was more about watching local logical file access
patterns (open, write, close) than physical access.  ext3 doesn't even
see a file close when it happens, right now.

Cheers,
 Stephen





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux