Re: [patch 03/11] fuse: add reference counting to fuse_file

2007-08-06 Thread Miklos Szeredi
> On Friday 03 August 2007, Miklos Szeredi wrote: > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > Make lifetime of 'struct fuse_file' independent from 'struct file' by > > adding a reference counter and destructor. > > What about using krefs to implement that? Thanks for the suggestion. I'

Re: [patch 03/11] fuse: add reference counting to fuse_file

2007-08-04 Thread Ingo Oeser
Hi Miklos, On Friday 03 August 2007, Miklos Szeredi wrote: > From: Miklos Szeredi <[EMAIL PROTECTED]> > > Make lifetime of 'struct fuse_file' independent from 'struct file' by > adding a reference counter and destructor. What about using krefs to implement that? see include/linux/kref.h and lib

[patch 03/11] fuse: add reference counting to fuse_file

2007-08-03 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Make lifetime of 'struct fuse_file' independent from 'struct file' by adding a reference counter and destructor. This will enable asynchronous page writeback, where it cannot be guaranteed, that the file is not released while a request with this file handl