Re: [PATCH 1/3] fs: remove FS_COW_FL

2011-05-03 Thread Li Zefan
Any comments? If this patch is acceptable, it should be queued for .39? since fs.h is exported to userspace. Li Zefan wrote: FS_COW_FL and FS_NOCOW_FL were newly introduced to control per file COW in btrfs, but FS_NOCOW_FL is sufficient. The fact is we don't have corresponding

Re: [PATCH 1/3] fs: remove FS_COW_FL

2011-05-03 Thread Chris Mason
Excerpts from Li Zefan's message of 2011-05-03 05:11:44 -0400: Any comments? If this patch is acceptable, it should be queued for .39? since fs.h is exported to userspace. Li Zefan wrote: FS_COW_FL and FS_NOCOW_FL were newly introduced to control per file COW in btrfs, but FS_NOCOW_FL is

[PATCH 1/3] fs: remove FS_COW_FL

2011-04-14 Thread Li Zefan
FS_COW_FL and FS_NOCOW_FL were newly introduced to control per file COW in btrfs, but FS_NOCOW_FL is sufficient. The fact is we don't have corresponding BTRFS_INODE_COW flag. COW is default, and FS_NOCOW_FL can be used to switch off COW for a single file. If we mount btrfs with nodatacow, a