Re: [PATCH 4 of 8] Add flags to control direct IO helpers

2007-02-08 Thread Chris Mason
On Thu, Feb 08, 2007 at 09:33:05AM +0530, Suparna Bhattacharya wrote: > On Wed, Feb 07, 2007 at 01:05:44PM -0500, Chris Mason wrote: > > On Wed, Feb 07, 2007 at 10:38:45PM +0530, Suparna Bhattacharya wrote: > > > > + * The flags parameter is a bitmask of: > > > > + * > > > > + * DIO_PLACEHOLDERS (u

Re: [PATCH 4 of 8] Add flags to control direct IO helpers

2007-02-07 Thread Suparna Bhattacharya
On Wed, Feb 07, 2007 at 01:05:44PM -0500, Chris Mason wrote: > On Wed, Feb 07, 2007 at 10:38:45PM +0530, Suparna Bhattacharya wrote: > > > + * The flags parameter is a bitmask of: > > > + * > > > + * DIO_PLACEHOLDERS (use placeholder pages for locking) > > > + * DIO_CREATE (pass create=1 to get_blo

Re: [PATCH 4 of 8] Add flags to control direct IO helpers

2007-02-07 Thread Chris Mason
On Wed, Feb 07, 2007 at 10:38:45PM +0530, Suparna Bhattacharya wrote: > > + * The flags parameter is a bitmask of: > > + * > > + * DIO_PLACEHOLDERS (use placeholder pages for locking) > > + * DIO_CREATE (pass create=1 to get_block for filling holes or extending) > > A little more explanation about

Re: [PATCH 4 of 8] Add flags to control direct IO helpers

2007-02-07 Thread Suparna Bhattacharya
On Tue, Feb 06, 2007 at 08:32:49PM -0400, Chris Mason wrote: > This creates a number of flags so that filesystems can control > blockdev_direct_IO. It is based on code from Russell Cettelan. > > The new flags are: > DIO_CREATE -- always pass create=1 to get_block on writes. This allows >

[PATCH 4 of 8] Add flags to control direct IO helpers

2007-02-07 Thread Chris Mason
This creates a number of flags so that filesystems can control blockdev_direct_IO. It is based on code from Russell Cettelan. The new flags are: DIO_CREATE -- always pass create=1 to get_block on writes. This allows DIO to fill holes in the file. DIO_PLACEHOLDERS -- use placeholder

[PATCH 4 of 8] Add flags to control direct IO helpers

2006-12-21 Thread Chris Mason
This creates a number of flags so that filesystems can control blockdev_direct_IO. It is based on code from Russell Cettelan. The new flags are: DIO_CREATE -- always pass create=1 to get_block on writes. This allows DIO to fill holes in the file. DIO_PLACEHOLDERS -- use placeholder