<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.file-systems.btrfs">
    <title>gmane.comp.file-systems.btrfs</title>
    <link>http://blog.gmane.org/gmane.comp.file-systems.btrfs</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17596"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17595"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17594"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17593"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17589"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17574"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17557"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17556"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17555"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17554"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17553"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17551"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17546"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17544"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17539"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17537"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17529"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17527"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17525"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17520"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17596">
    <title>[PATCH] Fix issues in 'btrfs help' output and manpage</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17596</link>
    <description>&lt;pre&gt;* Fix typos and some grammar errors

* Fix some arguments like &amp;lt;id&amp;gt; -&amp;gt; &amp;lt;subvolid&amp;gt; so they are the same on
  the manpage and 'btrfs help' output

* Add missing commands to manpage

* Change manpage order to conform to 'btrfs help' output, which I
  find the more logical of the two

Signed-off-by: Sami Liedes &amp;lt;sami.liedes&amp;lt; at &amp;gt;iki.fi&amp;gt;
---
 btrfs.c           |    2 +-
 cmds-balance.c    |    8 +--
 cmds-filesystem.c |    2 +-
 cmds-inspect.c    |    4 +-
 cmds-scrub.c      |    8 +--
 cmds-subvolume.c  |    4 +-
 man/btrfs.8.in    |  172 ++++++++++++++++++++++++++++++++---------------------
 7 files changed, 117 insertions(+), 83 deletions(-)

diff --git a/btrfs.c b/btrfs.c
index 88238d6..cf16cb8 100644
--- a/btrfs.c
+++ b/btrfs.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -187,7 +187,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; const struct cmd_group btrfs_cmd_group;
 
 static const char * const cmd_help_usage[] = {
 "btrfs help [--full]",
-"Dislay help information",
+"Display help information",
 "",
 "--full     display detailed help on every command",
 NULL
diff --git a/cmds-balance.c &lt;/pre&gt;</description>
    <dc:creator>Sami Liedes</dc:creator>
    <dc:date>2012-05-26T20:53:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17595">
    <title>Will big metadata blocks fix # of hardlinks?</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17595</link>
    <description>&lt;pre&gt;Hi!

I see that Linux 3.4 supports bigger metadata blocks for btrfs.

Will using them allow a bigger number of hardlinks on a single file
(i.e. the bug that has bitten at least git users on Debian[1,2], and
BackupPC[3])? As far as I understand correctly, the problem has been
that the hard links are stored in the same metadata block with some
other metadata, so the size of the block is an inherent limitation?

If so, I think it would be worth for me to try Btrfs again :)

Sami


[1] http://permalink.gmane.org/gmane.comp.file-systems.btrfs/13603
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642603
[3] https://bugzilla.kernel.org/show_bug.cgi?id=15762
&lt;/pre&gt;</description>
    <dc:creator>Sami Liedes</dc:creator>
    <dc:date>2012-05-26T18:22:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17594">
    <title>[PATCH] btrfs-progs: Update resize documentation</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17594</link>
    <description>&lt;pre&gt;The btrfs filesystem resize command defaults to only resizing the
filesystem for devid 1, and must have a devid passed in to resize the
filesystem for the other devices in the filesystem.

Additionally the documentation lacked information on how to actually
resize the underlying partition so this provides a little more detail.

Signed-off-by: Shawn Bohrer &amp;lt;shawn.bohrer&amp;lt; at &amp;gt;gmail.com&amp;gt;
---
 cmds-filesystem.c |    4 ++--
 man/btrfs.8.in    |   17 +++++++++++------
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 1f53d1c..00e4310 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -456,10 +456,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int cmd_defrag(int argc, char **argv)
 }
 
 static const char * const cmd_resize_usage[] = {
-"btrfs filesystem resize [+/-]&amp;lt;newsize&amp;gt;[gkm]|max &amp;lt;path&amp;gt;",
+"btrfs filesystem resize [devid:][+/-]&amp;lt;newsize&amp;gt;[gkm]|[devid:]max &amp;lt;path&amp;gt;",
 "Resize a filesystem",
 "If 'max' is passed, the filesystem will occupy all available space",
-"on the device.",
+"on&lt;/pre&gt;</description>
    <dc:creator>Shawn Bohrer</dc:creator>
    <dc:date>2012-05-26T17:57:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17593">
    <title>FROM MRS SUSAN SHABANGU(OPEN THE ATTACH FILES)</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17593</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>FROM MRS SUSAN SHABANGU</dc:creator>
    <dc:date>2012-05-26T10:56:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17589">
    <title>[PATCH v2 00/15] Btrfs: tree modification log</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17589</link>
    <description>&lt;pre&gt;Chris: Please pull

git://git.jan-o-sch.net/btrfs-unstable for-chris

for 3.5, it's a major improvement for the backref resolver and a good
base to build qgroups and "btrfs send" onto. And, besides all other, its
implications on existing code outside backref.c are very small, mostly
added lines with no effect outside the backref resolver.

This patch set is to provide reliable backref resolving on busy trees.
The previous attempts to block certain tree modifications while we're
resolving backrefs all ended up in (dead-) locking nightmares. What we
now do is we record all the changes we make to fs trees while backref
resolving is in progress into a tree modification log. During backref
resolving we then merge the current state of the tree with the recorded
modifications to get a consistent previous state of the tree.

The first three commits are plain bug fixes, but the tree mod log
cannot function without them. So they're included in this patch set.
To only these three fixes, you can pull

git://git.jan-o-&lt;/pre&gt;</description>
    <dc:creator>Jan Schmidt</dc:creator>
    <dc:date>2012-05-26T10:59:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17574">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17574</link>
    <description>&lt;pre&gt;
 i am robothroli, Purchase manager from roli Merchant Ltd. We are
Import/export Company based in taiwan. We are interested in purchasing
your product and I would like to make an inquiry. Please inform me on:

Sample availability and price
Minimum order quantity
FOB Prices

Sincerely
Purchase Manager
robothroli



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>robothroli company</dc:creator>
    <dc:date>2012-05-25T13:45:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17557">
    <title>Btrfs, snapshots and atime problems</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17557</link>
    <description>&lt;pre&gt;Hello,

I would like to start a discussion on atime in Btrfs (and possibly
other filesystems with snapshot support).

As atime is updated on every access of a file or directory, we get
many changes to the trees in btrfs that as always trigger cow
operations. This is no problem as long as the changed tree blocks are
not shared by other subvolumes. Performance is also not a problem, no
matter if shared or not (thanks to relatime which is the default).
The problems start when someone starts to use snapshots. If you for
example snapshot your root and continue working on your root, after
some time big parts of the tree will be cowed and unshared. In the
worst case, the whole tree gets unshared and thus takes up the double
space. Normally, a user would expect to only use extra space for a
tree if he changes something.
A worst case scenario would be if someone took regular snapshots for
backup purposes and later greps the contents of all snapshots to find
a specific file. This would touch all inodes in all trees an&lt;/pre&gt;</description>
    <dc:creator>Alexander Block</dc:creator>
    <dc:date>2012-05-25T15:15:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17556">
    <title>The linux-joystick mailing list has been moved</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17556</link>
    <description>&lt;pre&gt;The linux-joystick mailing list has been superseded by the linux-input
list run at vger.kernel.org.  See http://vger.kernel.org/vger-lists.html for
information on the new list server (or consult your local oracle).

Yours virtually,
Martin Mares
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Martin Mares</dc:creator>
    <dc:date>2012-05-25T14:59:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17555">
    <title>[PATCH] Btrfs: fall back to non-inline if we don't have enough space</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17555</link>
    <description>&lt;pre&gt;If cow_file_range_inline fails with ENOSPC we abort the transaction which
isn't very nice.  This really shouldn't be happening anyways but there's no
sense in making it a horrible error when we can easily just go allocate
normal data space for this stuff.  Thanks,

Signed-off-by: Josef Bacik &amp;lt;josef&amp;lt; at &amp;gt;redhat.com&amp;gt;
---
 fs/btrfs/inode.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index cd51968..46d8732 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -257,10 +257,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static noinline int cow_file_range_inline(struct btrfs_trans_handle *trans,
 ret = insert_inline_extent(trans, root, inode, start,
    inline_len, compressed_size,
    compress_type, compressed_pages);
-if (ret) {
+if (ret &amp;amp;&amp;amp; ret != -ENOSPC) {
 btrfs_abort_transaction(trans, root, ret);
 return ret;
+} else if (ret == -ENOSPC) {
+return 1;
 }
+
 btrfs_delalloc_release_metadata(inode, end + 1 - start);
 btrfs_drop_extent_cache(inode, start, aligned_end -&lt;/pre&gt;</description>
    <dc:creator>Josef Bacik</dc:creator>
    <dc:date>2012-05-25T14:10:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17554">
    <title>[PATCH] Btrfs: fix how we deal with the orphan block rsv</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17554</link>
    <description>&lt;pre&gt;Ceph was hitting this race where we would remove an inode from the per-root
orphan list before we would release the space we had reserved for the inode.
We actually don't need a list or anything, we just need to make sure the
root doesn't try to free up the orphan reserve until after the inodes have
released their reservations.  So use an atomic counter instead of a list on
the root and only decrement the counter after we've released our
reservation.  I've tested this as well as several others and we no longer
see the warnings that you would see while running ceph.  Thanks,
Btrfs: fix how we deal with the orphan block rsv

Ceph was hitting this race where we would remove an inode from the per-root
orphan list before we would release the space we had reserved for the inode.
We actually don't need a list or anything, we just need to make sure the
root doesn't try to free up the orphan reserve until after the inodes have
released their reservations.  So use an atomic counter instead of a list on
the root and on&lt;/pre&gt;</description>
    <dc:creator>Josef Bacik</dc:creator>
    <dc:date>2012-05-25T14:10:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17553">
    <title>[PATCH] Btrfs: convert the inode bit field to use the actual bit operations</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17553</link>
    <description>&lt;pre&gt;Miao pointed this out while I was working on an orphan problem that messing
with a bitfield where different ranges are protected by different locks
doesn't work out right.  Turns out we've been doing this forever where we
have different parts of the bit field protected by either no lock at all or
different locks which could cause all sorts of weird problems including the
issue I was hitting.  So instead make a runtime_flags thing that we use the
normal bit operations on that are all atomic so we can keep having our
no/different locking for the different flags and then make force_compress
it's own thing so it can be treated normally.  Thanks,

Signed-off-by: Josef Bacik &amp;lt;josef&amp;lt; at &amp;gt;redhat.com&amp;gt;
---
 fs/btrfs/btrfs_inode.h   |   30 ++++++++++++++++--------------
 fs/btrfs/delayed-inode.c |    4 ++--
 fs/btrfs/disk-io.c       |    3 ++-
 fs/btrfs/extent-tree.c   |   11 ++++++-----
 fs/btrfs/file.c          |   12 ++++++------
 fs/btrfs/inode.c         |   28 ++++++++++++----------------
 6 files changed, 44 insertion&lt;/pre&gt;</description>
    <dc:creator>Josef Bacik</dc:creator>
    <dc:date>2012-05-25T14:09:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17551">
    <title>[PATCH v5 0/3] Btrfs-progs: support get/reset device stats via ioctl</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17551</link>
    <description>&lt;pre&gt;"btrfs device stats" is used to retrieve and print the device stats.
"btrfs device stats -z" is used to atomically retrieve, reset and
print the stats.

In order to share two utility functions between scrub and the dev stats
code, these two functions are moved to utils.c and renamed.
Since these functions are using open_file_or_dir(), and since the linking
against utils.o and common.o was different, open_file_or_dir() was moved
from common.c to utils.c. And since that function makes use of the
function dirfd(3), the required XOPEN version was raised from 6 to 7.

Changes v1-&amp;gt;v2:
- Remove a verbose printf()
- Cast u64 to unsigned long long for printf()
- Update the man page

Changes v2-&amp;gt;v3:
- Rebase on Chris' current master branch
- Split the patch into three seperate patches because after rebasing,
  open_file_or_dir() was moved and additional changes had been necessary

Changes v3-&amp;gt;v4:
- Add padding at end of ioctl structure

Changes v4-&amp;gt;v5:
- The statistic members in the ioctl are now organized as an array&lt;/pre&gt;</description>
    <dc:creator>Stefan Behrens</dc:creator>
    <dc:date>2012-05-25T14:07:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17546">
    <title>[PATCH v5 0/3] Btrfs: add IO error device stats</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17546</link>
    <description>&lt;pre&gt;Changes v1-v2:
- Remove restriction that BTRFS_IOC_GET_DEVICE_STATS is a privileged
  operation
- Cast u64 to unsigned long long for printf()

Changes v2-v3:
- Rebased on Chris' current master

Changes v3-v4:
- Add padding at end of ioctl structure

Changes v4-v5:
- The statistic members in the ioctl are now organized as an array of
  64 bit values. Symbolic names for the array indexes are defined in
  an enum, which also defines the max value. This change makes it
  easier to add new statistic members in the future
- Give ins_len = -1 to btrfs_search_slot() when an item might get
  deleted
- Introduce a helper function for the repeated sequence stat_int() +
  dirty = 1 + stat_print()
- Introduce a helper function for the code that shares the bio
  bi_private member for two pieces of information

The goal is to detect when drives start to get an increased error rate,
when drives should be replaced soon. Therefore statistic counters are
added that count IO errors (read, write and flush). Additionally, the
sof&lt;/pre&gt;</description>
    <dc:creator>Stefan Behrens</dc:creator>
    <dc:date>2012-05-25T14:06:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17544">
    <title>[PATCH] Btrfs: don't update atime on RO subvolumes</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17544</link>
    <description>&lt;pre&gt;Before the update_time inode operation was indroduced, it was
not possible to prevent updates of atime on RO subvolumes.
btrfs_update_time does now check if the root is RO and skip
updating of atime.

This patch requires the update_time patches from Josef
Bacik.

Signed-off-by: Alexander Block &amp;lt;ablock84&amp;lt; at &amp;gt;googlemail.com&amp;gt;
---
 fs/btrfs/inode.c |   26 +++++++++++++++++++++-----
 fs/inode.c       |    3 +++
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 54ae3df..b48db5a 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -4470,14 +4470,30 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int btrfs_dirty_inode(struct inode *inode)
 static int btrfs_update_time(struct inode *inode, struct timespec *now,
      int flags)
 {
-if (flags &amp;amp; S_VERSION)
+struct btrfs_root *root = BTRFS_I(inode)-&amp;gt;root;
+int did_update = 0;
+
+if (flags &amp;amp; S_VERSION) {
 inode_inc_iversion(inode);
-if (flags &amp;amp; S_CTIME)
+did_update = 1;
+}
+if (flags &amp;amp; S_CTIME) {
 inode-&amp;gt;i_ctime = *now;
-if (flags &amp;amp; S_MTIME)
+&lt;/pre&gt;</description>
    <dc:creator>Alexander Block</dc:creator>
    <dc:date>2012-05-25T12:50:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17539">
    <title>Btrfs and more compression algorithms</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17539</link>
    <description>&lt;pre&gt;Hi Chris, Hi Josef,

Hi Btrfs-List and all other Btrfs-devs that I've forgot,


is there a chance we'll see a xz file-compression support in Btrfs
anytime soon ?

I'm sure folks have been waiting for additional compression support
besides gzip and lzo (bzip2 seems out of question due to its slowness,
there's pbzip2 but that's not included in the kernel).

This would be a really nice bonus due to the processors getting faster
and SSD usage is more and more widespread - add an efficient
implementation and

we would have a fast, extremely efficient and feature-rich filesystem.

My current situation is that several of my harddrives are almost
completely full - even with forced gzip-compression - so I thought I'd
asked whether there was any change in the near future ahead.
There's fusecompress but that probably wouldn't end up being as stable
as a btrfs with xz/lzma-support.


Thanks for your consideration and your work on Btrfs !

It got significantly more stable compared to the past :)

(I use it mainly for som&lt;/pre&gt;</description>
    <dc:creator>Matt</dc:creator>
    <dc:date>2012-05-24T21:28:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17537">
    <title>[BUG] atime on ro snapshots is updated when it should not</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17537</link>
    <description>&lt;pre&gt;Hello,

if a snapshot was created with -r and thus is read only, accessing
files in it will update the atime. I would expect that atime is not
updated on ro snapshots.

I tried to find out where the ro check is missing. The problem seems
to be that the vfs is only checking the mount, super block and
i_flags.
As it has no clue about subvolumes, it never checks them. My temporary
solution for me to continue working is atm the patch at the end of
this mail.
Is anyone with more vfs experience able to fix this in a better way?

Thanks,
Alex.

diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 3524978..6f126e0 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -115,6 +115,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void btrfs_update_iflags(struct inode *inode)
                inode-&amp;gt;i_flags |= S_NOATIME;
        if (ip-&amp;gt;flags &amp;amp; BTRFS_INODE_DIRSYNC)
                inode-&amp;gt;i_flags |= S_DIRSYNC;
+
+       if (btrfs_root_readonly(ip-&amp;gt;root)) {
+               inode-&amp;gt;i_flags |= S_NOATIME;
+       }
 }
--
To unsubscribe from this list: send the line&lt;/pre&gt;</description>
    <dc:creator>Alexander Block</dc:creator>
    <dc:date>2012-05-24T17:12:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17529">
    <title>Preparing single-disk setup for future multi-disk usage</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17529</link>
    <description>&lt;pre&gt;Good morning,


I currently have a single-disk setup where I want to use btrfs filesystem. Yet, I expect to add additional disks to this system in the future. Those disks shall be visible to the OS like a single disk, i.e. using multi-disk feature in btrfs. While data shall be striped among those disks in the future, meta data shall be mirrored for better fault tolerance (loss of some data is acceptable, while loss of all data is not acceptable).

btrfs supports multi-disk setups and even adding additional devices at a later point of time. Thus, it is my preferred choice. However, I am puzzled how the mkfs.btrfs command must be parametrized to have RAID1 for meta data and RAID0 for data with just a single disk / partition. Could I simply do mkfs.btrfs -m raid1 -d raid0 /dev/sdaX (where X is the partition number) ?

Unfortunately, I do not have a disk to test it right now. The disk I am planning to use is with the post service still :) . Searching the Web could not reveal a similar scenario. All multi-disk ex&lt;/pre&gt;</description>
    <dc:creator>Björn Wüst</dc:creator>
    <dc:date>2012-05-24T06:05:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17527">
    <title>[PATCH] Btrfs: fix the same inode id problem when doing auto defragment</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17527</link>
    <description>&lt;pre&gt;Two files in the different subvolumes may have the same inode id, so
The rb-tree which is used to manage the defragment object must take it
into account. This patch fix this problem.

Signed-off-by: Miao Xie &amp;lt;miaox&amp;lt; at &amp;gt;cn.fujitsu.com&amp;gt;
---
 fs/btrfs/file.c |   45 +++++++++++++++++++++++++++++++++++----------
 1 files changed, 35 insertions(+), 10 deletions(-)

diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 23364c1..3d22fd0 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -65,6 +65,21 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct inode_defrag {
 int cycled;
 };
 
+static int __compare_inode_defrag(struct inode_defrag *defrag1,
+  struct inode_defrag *defrag2)
+{
+if (defrag1-&amp;gt;root &amp;gt; defrag2-&amp;gt;root)
+return 1;
+else if (defrag1-&amp;gt;root &amp;lt; defrag2-&amp;gt;root)
+return -1;
+else if (defrag1-&amp;gt;ino &amp;gt; defrag2-&amp;gt;ino)
+return 1;
+else if (defrag1-&amp;gt;ino &amp;lt; defrag2-&amp;gt;ino)
+return -1;
+else
+return 0;
+}
+
 /* pop a record for an inode into the defrag tree.  The lock
  * must be held already
  *
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -87,9 +102,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void __btrfs_add_inode_&lt;/pre&gt;</description>
    <dc:creator>Miao Xie</dc:creator>
    <dc:date>2012-05-24T02:42:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17525">
    <title>[PATCH] Btrfs: fall back to non-inline if we don't have enough space</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17525</link>
    <description>&lt;pre&gt;If cow_file_range_inline fails with ENOSPC we abort the transaction which
isn't very nice.  This really shouldn't be happening anyways but there's no
sense in making it a horrible error when we can easily just go allocate
normal data space for this stuff.  Thanks,

Signed-off-by: Josef Bacik &amp;lt;josef&amp;lt; at &amp;gt;redhat.com&amp;gt;
---
 fs/btrfs/inode.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index cd51968..46d8732 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -257,10 +257,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static noinline int cow_file_range_inline(struct btrfs_trans_handle *trans,
 ret = insert_inline_extent(trans, root, inode, start,
    inline_len, compressed_size,
    compress_type, compressed_pages);
-if (ret) {
+if (ret &amp;amp;&amp;amp; ret != -ENOSPC) {
 btrfs_abort_transaction(trans, root, ret);
 return ret;
+} else if (ret == -ENOSPC) {
+return 1;
 }
+
 btrfs_delalloc_release_metadata(inode, end + 1 - start);
 btrfs_drop_extent_cache(inode, start, aligned_end -&lt;/pre&gt;</description>
    <dc:creator>Josef Bacik</dc:creator>
    <dc:date>2012-05-23T20:08:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17520">
    <title>[PATCH] Btrfs: fix false positive in check-integrity on unmount</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17520</link>
    <description>&lt;pre&gt;During unmount, it could happen that the integrity checker printed a
warning message "attempt to free ... on umount which is not yet iodone"
which turned out to be a false positive.

Signed-off-by: Stefan Behrens &amp;lt;sbehrens&amp;lt; at &amp;gt;giantdisaster.de&amp;gt;
---
 fs/btrfs/check-integrity.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c
index d85b9d1..b5e9891 100644
--- a/fs/btrfs/check-integrity.c
+++ b/fs/btrfs/check-integrity.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3338,7 +3338,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void btrfsic_unmount(struct btrfs_root *root,
 btrfsic_block_link_free(l);
 }
 
-if (b_all-&amp;gt;is_iodone)
+if (b_all-&amp;gt;is_iodone || b_all-&amp;gt;never_written)
 btrfsic_block_free(b_all);
 else
 printk(KERN_INFO "btrfs: attempt to free %c-block"
&lt;/pre&gt;</description>
    <dc:creator>Stefan Behrens</dc:creator>
    <dc:date>2012-05-23T16:12:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.file-systems.btrfs/17517">
    <title>Cant mount multi-subvolume via fstab</title>
    <link>http://comments.gmane.org/gmane.comp.file-systems.btrfs/17517</link>
    <description>&lt;pre&gt;Hi,

I'm trying mount many subvolume during boot via fstab:

UUID=xxx /usr btrfs subvol=usr,ro,nodev 0 0
UUID=xxx /home btrfs subvol=home,nodev,nosuid 0 0
UUID=xxx /var btrfs subvol=var,nodev 0 0
UUID=xxx /var/tmp btrfs subvol=var-tmp,nodev,noexec,nosuid 0 0

But only the first one is mounted. When try to mount the others
subvolumes, I get this error:

mount: /dev/sda3 already mounted or /home busy
mount: according to mtab, /dev/sda3 is mounted on /usr
mount: /dev/sda3 already mounted or /var busy
mount: according to mtab, /dev/sda3 is mounted on /usr
mount: mount point /var/tmp does not exist

I'm using linux kernel 3.3.6 and mount 2.20 in Debian 7.

&lt;/pre&gt;</description>
    <dc:creator>Rogerio Bastos</dc:creator>
    <dc:date>2012-05-23T15:00:02</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.file-systems.btrfs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.file-systems.btrfs</link>
  </textinput>
</rdf:RDF>

