Li Zefan <lizf <at> cn.fujitsu.com> writes: > See this "Per file/directory controls for COW and compression": > > http://marc.info/?l=linux-btrfs&m=130078867208491&w=2 > > And the user tool patch (which got no reply): > > http://marc.info/?l=linux-btrfs&m=130311215721242&w=2 > > So you can create a directory, and set the no-compress flag for it, and > then any file created in that dir will inherit the flag. Thanks, Li, but how do I set the no-compress flag? The patched chattr you mention can only set the FS_COMPR_FL. The 'C' argument is now used for FS_NOCOW_FL. Could we use another flag for copy-on-write control in chattr? -- 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
