Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Artem <artemciy@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: File compression control, again.
Date: Tue, 27 Sep 2011 17:17:18 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110927T185853-434@post.gmane.org> (raw)

Hi!

So, it makes sense to keep the compression on by default
and with LZO many people are going there.

But, I want to create a database on a compressed btrfs filesystem
which is seek-heavy rather than throughput-heavy
and I really want to turn the compression off just for that database
(smaller I/O reads, more precise cache usage).

Maintenance nightmare that Miguel mentioned
( http://thread.gmane.org/gmane.comp.file-systems.btrfs/1665/focus=1669 )
isn't really a problem as I'm going to automatically set the flags
from the program, just before opening the database.

Looking at "fs/btrfs/ioctl.h" I don't see any way to to this.
Subvolume compression control isn't working either from what I heard
(cf. https://bbs.archlinux.org/viewtopic.php?id=126635
     http://thread.gmane.org/gmane.comp.file-systems.btrfs/6237/ ).

Am I right that fine-grained compression control is no longer supported by btrfs?
If so, I would like to vote for it to be added.


             reply	other threads:[~2011-09-27 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 17:17 Artem [this message]
2011-09-28  1:45 ` File compression control, again Li Zefan
2011-09-28 13:26   ` Artem
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.20110927T185853-434@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