Re: [RFC PATCH] Btrfs: add ioctl to set compress or cow per file/dir

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

 



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_FL            0x00100000 /* Use direct i/o */
> > +#define FS_NOCOW_FL            0x00200000 /* Do not cow file */
> > +#define FS_COW_FL            0x00100000 /* Cow file */
> >  #define FS_RESERVED_FL            0x80000000 /* reserved for ext2 lib */
> 
> I'm assuming that FS_COW_FL should not be the same as FS_DIRECTIO_FL?

No, we can do DIRECTIO with COW.

-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux