From: Artem <artemciy@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: File compression control, again.
Date: Wed, 28 Sep 2011 13:26:11 +0000 (UTC) [thread overview]
Message-ID: <loom.20110928T151702-530@post.gmane.org> (raw)
In-Reply-To: 4E827C41.1000805@cn.fujitsu.com
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?
next prev parent reply other threads:[~2011-09-28 13:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 17:17 File compression control, again Artem
2011-09-28 1:45 ` Li Zefan
2011-09-28 13:26 ` Artem [this message]
2011-09-28 14:50 ` Artem
2011-09-28 21:09 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110928T151702-530@post.gmane.org \
--to=artemciy@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox