On 02/25/2011 02:39 AM, Chris Mason wrote:
> Excerpts from Andreas Dilger's message of 2011-02-24 13:37:52 -0500:
>> On 2011-02-24, at 2:40 AM, liubo wrote:
>>> #define FS_DIRECTIO_FL0x0010 /* Use direct i/o */
>>> +#define FS_NOCOW_FL0x0020 /* Do not cow file */
>>
On 02/24/2011 10:54 PM, Chris Mason wrote:
> Excerpts from liubo's message of 2011-02-24 04:40:55 -0500:
>> Data compression and data cow are controlled across the entire FS by mount
>> options right now. ioctls are needed to set this on a per file or per
>> directory basis. This has been propose
Excerpts from Andreas Dilger's message of 2011-02-24 13:37:52 -0500:
> On 2011-02-24, at 2:40 AM, liubo wrote:
> > #define FS_DIRECTIO_FL0x0010 /* Use direct i/o */
> > +#define FS_NOCOW_FL0x0020 /* Do not cow file */
> > +#define FS_COW_FL0x0010 /*
On 2011-02-24, at 2:40 AM, liubo wrote:
> #define FS_DIRECTIO_FL 0x0010 /* Use direct i/o */
> +#define FS_NOCOW_FL 0x0020 /* Do not cow file */
> +#define FS_COW_FL0x0010 /* Cow file */
> #define FS_RESERVED_FL
Excerpts from liubo's message of 2011-02-24 04:40:55 -0500:
>
> Data compression and data cow are controlled across the entire FS by mount
> options right now. ioctls are needed to set this on a per file or per
> directory basis. This has been proposed previously, but VFS developers
> wanted us
Data compression and data cow are controlled across the entire FS by mount
options right now. ioctls are needed to set this on a per file or per
directory basis. This has been proposed previously, but VFS developers
wanted us to use generic ioctls rather than btrfs-specific ones.
We need to fit