Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective)

2010-12-09 Thread Mike Fedyk
On Thu, Dec 9, 2010 at 5:38 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Andi Kleen's message of 2010-12-09 18:16:16 -0500: 512MB. 'free' reports 75MB, 419MB free. I originally noticed the problem on really real hardware (thinkpad T61p), however. If you can easily

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I think that the disk allocation size of each file becomes a monotone increase when the file is made. But, it sometimes return to 0.  Is it

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 12:15 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 15:07:08 -0500: On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec

Re: 800 GByte free, but no space left

2010-12-02 Thread Mike Fedyk
On Thu, Dec 2, 2010 at 10:23 AM, Helmut Hullen hul...@t-online.de wrote: Btrfs Btrfs v0.19 btrfs in the kernel has been version 0.19 for a *long* time. The version number there may never change. How do you encode a feature mask in a version number? Some features may be in one tree but not

Re: What to do about subvolumes?

2010-12-01 Thread Mike Fedyk
On Wed, Dec 1, 2010 at 3:32 PM, Freddie Cash fjwc...@gmail.com wrote: On Wed, Dec 1, 2010 at 1:28 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Wed, Dec 01, 2010 at 12:24:28PM -0800, Freddie Cash wrote: On Wed, Dec 1, 2010 at 11:35 AM, Hugo Mills hugo-l...@carfax.org.uk wrote:  The idea is

Re: [RFC PATCH 2/4 v2] Btrfs: avoid transaction stuff when readonly

2010-12-01 Thread Mike Fedyk
On Wed, Dec 1, 2010 at 8:28 PM, Yan, Zheng yanzh...@21cn.com wrote: On Thu, Dec 2, 2010 at 11:42 AM, liubo liubo2...@cn.fujitsu.com wrote: On 12/01/2010 06:20 PM, liubo wrote: When the filesystem is readonly, avoid transaction stuff by checking MS_RDONLY at start transaction time. This

Default to read-only on snapshot creation and have a flag if snapshot should be writable (was: [PATCH 0/5] btrfs: Readonly snapshots)

2010-11-29 Thread Mike Fedyk
On Mon, Nov 29, 2010 at 12:02 AM, Li Zefan l...@cn.fujitsu.com wrote: (Cc: Sage Weil s...@newdream.net for changes in async snapshots) This patchset adds readonly-snapshots support. You can create a readonly snapshot, and you can also set a snapshot readonly/writable on the fly. A few

Re: Default to read-only on snapshot creation and have a flag if snapshot should be writable (was: [PATCH 0/5] btrfs: Readonly snapshots)

2010-11-29 Thread Mike Fedyk
On Mon, Nov 29, 2010 at 12:41 PM, David Arendt ad...@prnet.org wrote: On 11/29/10 21:02, Mike Fedyk wrote: On Mon, Nov 29, 2010 at 12:02 AM, Li Zefanl...@cn.fujitsu.com  wrote: (Cc: Sage Weils...@newdream.net  for changes in async snapshots) This patchset adds readonly-snapshots support

Re: [RFC PATCH 0/4] Add readonly support to replace BUG_ON phrase

2010-11-29 Thread Mike Fedyk
On Mon, Nov 29, 2010 at 12:10 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Nov 25, 2010 at 05:52:47PM +0800, Miao Xie wrote: Btrfs has a number of BUG_ON()s, which may lead btrfs to unpleasant panic. Meanwhile, they are very ugly and should be handled more propriately. There are mainly two

Re: Default to read-only on snapshot creation and have a flag if snapshot should be writable (was: [PATCH 0/5] btrfs: Readonly snapshots)

2010-11-29 Thread Mike Fedyk
On Mon, Nov 29, 2010 at 1:31 PM, Andrey Kuzmin andrey.v.kuz...@gmail.com wrote: This may sound excessive as any new concept introduction that late in development, but readonly/writable snapshots could be further differentiated by naming the latter clones. This way end-user would naturally

Re: Update to Project_ideas wiki page

2010-11-17 Thread Mike Fedyk
On Wed, Nov 17, 2010 at 7:12 AM, Bart Noordervliet b...@noordervliet.net wrote: On Wed, Nov 17, 2010 at 15:31, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Nov 16, 2010 at 10:19:45PM -0500, Chris Ball wrote: == Changing RAID levels == We need ioctls to change between different raid

Re: Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-12 Thread Mike Fedyk
On Fri, Nov 12, 2010 at 6:28 AM, Marek Otahal markota...@gmail.com wrote: On Friday 12 of November 2010 18:44:12 you wrote: On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik jo...@redhat.com wrote: On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote: On 11/11/10 23:52, Josef Bacik

Re: [patch 0/2] Control filesystem balances (kernel side)

2010-11-08 Thread Mike Fedyk
[ sorry for breaking the thread, I'm replying from the archives, I was unsubbed after a mail server issue and didn't notice till now... ] On Sat, Oct 30, 2010 at 07:44:35PM +0200, Goffredo Baroncelli wrote: balance- info on balancing Hugo Mills wrote: For

Re: [PATCH] Add the btrfs filesystem label command

2010-09-15 Thread Mike Fedyk
On Mon, Sep 13, 2010 at 12:24 PM, Goffredo Baroncelli kreij...@gmail.com wrote: +int get_label(char *btrfs_dev) +{ + +       int ret; +       ret = check_mounted(btrfs_dev); +       if (ret 0) +       { +              fprintf(stderr, FATAL: error checking %s mount status\n, btrfs_dev);

Re: [PATCH] Btrfs: Remove useless condition

2010-09-12 Thread Mike Fedyk
On Sun, Sep 12, 2010 at 6:56 AM, Jaswinder Singh Rajput jaswinderli...@gmail.com wrote: Hello, On Sun, Sep 12, 2010 at 5:59 PM, Johannes Weiner han...@cmpxchg.org wrote: On Sun, Sep 12, 2010 at 04:32:20PM +0530, Jaswinder Singh Rajput wrote: if (ret) is useless as it will be never NULL as in

Re: Btrfs: broken file system design (was Unbound(?) internal fragmentation in Btrfs)

2010-06-23 Thread Mike Fedyk
On Wed, Jun 23, 2010 at 8:43 PM, Daniel Taylor daniel.tay...@wdc.com wrote: Just an FYI reminder.  The original test (2K files) is utterly pathological for disk drives with 4K physical sectors, such as those now shipping from WD, Seagate, and others.  Some of the SSDs have larger (16K0 or

Re: A couple of questions

2010-05-31 Thread Mike Fedyk
On Mon, May 31, 2010 at 11:06 AM, Paul Millar paul.mil...@desy.de wrote: Hi Chris, On Thursday 27 May 2010 18:00:44 Chris Mason wrote: I'd suggest that you look at T10 DIF and DIX, which are targeted at exactly this kind of thing.  We're looking at integrating dif/dix into btrfs at some

Re: Disk space accounting and subvolume delete

2010-05-31 Thread Mike Fedyk
On Mon, May 31, 2010 at 12:01 PM, Bruce Guenter br...@untroubled.org wrote: On Wed, May 12, 2010 at 01:02:07PM +0800, Yan, Zheng  wrote: Dropping a tree can be lengthy. It's not good to let sync wait for hours. For most linux FS, 'sync' just force an transaction/journal commit. I don't think

Re: [patch 5/11] btrfs: remove unneeded null check in btrfs_rename()

2010-05-29 Thread Mike Fedyk
On Sat, May 29, 2010 at 2:45 AM, Dan Carpenter erro...@gmail.com wrote: old_inode cannot be null here, because we dereference it unconditionally throughout the function. Signed-off-by: Dan Carpenter erro...@gmail.com diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index fa6ccc1..0bc29be

Re: Confused by performance

2010-05-24 Thread Mike Fedyk
On Mon, May 24, 2010 at 2:08 PM, K. Richard Pixley r...@noir.com wrote: I've just started to work with btrfs so I started with a benchmark.  On four identical servers, (2 dual core cpus, single local disk), I built filesystems - ext3, ext4, nilfs2, and btrfs.  I checked out a sizable code tree

Re: RAID[56] status?

2010-05-23 Thread Mike Fedyk
On Sun, May 23, 2010 at 1:55 PM, Roy Sigurd Karlsbakk r...@karlsbakk.net wrote: Hi all It's about a year now since I saw the first posts about RAID[56] in Btrfs. Has this gotten any further? There are patches in development. Nothing ready to test yet. -- To unsubscribe from this list:

Re: [PATCH 3/6] direct-io: do not merge logically non-contiguous requests

2010-05-21 Thread Mike Fedyk
On Fri, May 21, 2010 at 10:03 AM, Josef Bacik jo...@redhat.com wrote: Btrfs cannot handle having logically non-contiguous requests submitted.  For example if you have Logical:  [0-4095][HOLE][8192-12287] Physical: [0-4095]      [4096-8191] Normally the DIO code would put these into the same

Re: [PATCH 04/10] btrfs: Add error check for add_to_page_cache_lru

2010-05-20 Thread Mike Fedyk
On Thu, May 20, 2010 at 12:18 AM, Miao Xie mi...@cn.fujitsu.com wrote: From: Liu Bo liubo2...@cn.fujitsu.com If add_to_page_cache_lru() returns -EEXIST, it indicates the page that belongs to this page_index has been added and this readahead action can go on to next page. If

Re: [PATCH 07/10] btrfs: fix wrong ctime when adding link

2010-05-20 Thread Mike Fedyk
On Thu, May 20, 2010 at 12:22 AM, Miao Xie mi...@cn.fujitsu.com wrote: the ctime of file has not been updated when I create a link for it. Steps to reproduce:  # touch file1  # stat -c %Z file1  1273592239  # link flink1 file1  # stat -c %Z file1  1273592239             -- have not been

Re: Adding mirroring to an existing filesystem

2010-05-16 Thread Mike Fedyk
On Sun, May 16, 2010 at 8:38 AM, J G yoosty_...@yahoo.com wrote: --- On Sun, 5/16/10, Donald Gordon d...@dis.org.nz wrote: From: Donald Gordon d...@dis.org.nz Subject: Adding mirroring to an existing filesystem To: linux-btrfs@vger.kernel.org Date: Sunday, May 16, 2010, 4:39 AM Hi Is

Re: help message of btrfsctl does not tell anything about deletion of a subvolume

2010-05-15 Thread Mike Fedyk
On Sat, May 15, 2010 at 11:47 AM, Andreas Philipp philipp.andr...@gmail.com wrote: Hi, The help message of the btrfsctl command does not tell anything about the deletion of a subvolume. See patch below. Kind regards, Andreas diff --git a/btrfsctl.c b/btrfsctl.c index be6bf25..3ed6f2d

[PATCH 2/2] Fix version.sh to work with dash

2010-05-04 Thread Mike Fedyk
--- fs/btrfs/version.h |6 +++--- fs/btrfs/version.sh | 16 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/fs/btrfs/version.h b/fs/btrfs/version.h index 9bf3946..12f7e5c 100644 --- a/fs/btrfs/version.h +++ b/fs/btrfs/version.h @@ -1,4 +1,4 @@ -#ifndef

[PATCH 1/2] Change version.sh from last tag and hash to output last commit date and hash

2010-05-04 Thread Mike Fedyk
The btrfs git repo doesn't have all of the tags from the base 2.6.32 kernel it's currently based upon and the btrfs module is regularly compiled against other kernels so this changes the version to be based upon the date and hash of the latest commit instead which is more relevant to most people

Re: [PATCH 2/2] Fix version.sh to work with dash

2010-05-04 Thread Mike Fedyk
Please ignore this patch, I will resend a fixed one. On Tue, May 4, 2010 at 9:12 AM, Mike Fedyk mfe...@mikefedyk.com wrote: ---  fs/btrfs/version.h  |    6 +++---  fs/btrfs/version.sh |   16  2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/fs/btrfs

[PATCH v2 1/2] Change version.sh from last tag and hash to output last commit date and hash

2010-05-04 Thread Mike Fedyk
The btrfs git repo doesn't have all of the tags from the base 2.6.32 kernel it's currently based upon and the btrfs module is regularly compiled against other kernels so this changes the version to be based upon the date and hash of the latest commit instead which is more relevant to most people

[PATCH v2 2/2] Fix version.sh to work with dash

2010-05-04 Thread Mike Fedyk
--- fs/btrfs/version.sh | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/version.sh b/fs/btrfs/version.sh index a4576f2..d87daf4 100755 --- a/fs/btrfs/version.sh +++ b/fs/btrfs/version.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # #

Re: Oops while attempting to mount degraded multi-device raid1 data/metadata btrfs filesystem

2010-03-26 Thread Mike Fedyk
On Fri, Mar 26, 2010 at 11:06 AM, Josef Bacik jo...@redhat.com wrote: On Fri, Mar 26, 2010 at 10:49:57AM -0700, Mike Fedyk wrote: I still get this oops with the latest btrfs kernel code from git (as of  2010-03-21) compiled against 2.6.32.9-70.fc12.x86_64 Will you try this patch [PATCH

Re: [BUG] scheduling while atomic: init/1/0x00000002

2010-03-13 Thread Mike Fedyk
On Sat, Mar 13, 2010 at 3:49 PM, Phillip Michael oopsicra...@gmail.com wrote: I have a btrfs filesystem with three subvolumes. One of them (named arch64) has 64 bit linux, one (arch32)  has 32 bit linux, and the third (files) has various files. After an unsuccessful tuxonice resume, the arch64

Re: SSD Optimizations

2010-03-10 Thread Mike Fedyk
On Wed, Mar 10, 2010 at 11:49 AM, Gordan Bobic gor...@bobich.net wrote: I'm looking to try BTRFS on a SSD, and I would like to know what SSD optimizations it applies. Is there a comprehensive list of what ssd mount option does? How are the blocks and metadata arranged? Are there options

Re: Cross-subvolume link causes kernel BUG

2010-03-08 Thread Mike Fedyk
On Mon, Mar 8, 2010 at 10:26 AM, Bruce Guenter br...@untroubled.org wrote: On Mon, Mar 08, 2010 at 12:39:38PM -0500, Chris Ball wrote: I think this is fixed in 2.6.33, as a result of the patch below. Let us know if you see a segfault on 2.6.33, or after applying this patch to your current

Re: Cross-subvolume link causes kernel BUG

2010-03-08 Thread Mike Fedyk
On Mon, Mar 8, 2010 at 1:21 PM, Mike Fedyk mfe...@mikefedyk.com wrote: On Mon, Mar 8, 2010 at 10:26 AM, Bruce Guenter br...@untroubled.org wrote: On Mon, Mar 08, 2010 at 12:39:38PM -0500, Chris Ball wrote: I think this is fixed in 2.6.33, as a result of the patch below. Let us know if you see

Oops while attempting to mount degraded multi-device raid1 data/metadata btrfs filesystem

2010-03-05 Thread Mike Fedyk
Hi, I get an oops with 2.6.33-0.46.rc8.git1.fc13.x86_64 while trying to mount a degraded raid1 btrfs filesystem. Here are the steps I performed to get to this stage. - Install fedora12 btrfs / on sda2 - mkfs.btrfs -m raid1 -d raid1 /dev/sda7 - cp -a from sda2 to sda7 - reboot into sda7 as / -

Re: Raid1 with 3 drives

2010-03-05 Thread Mike Fedyk
On Fri, Mar 5, 2010 at 1:49 PM, Bart Noordervliet b...@noordervliet.net wrote: On Fri, Mar 5, 2010 at 21:31, Josef Bacik jo...@redhat.com wrote: Since I have three devices in a RAID1 pool, can it survive 2 drive failures? Yes, tho you won't be able to remove more than 1 at a time (since it

Re: assertion failures

2010-02-26 Thread Mike Fedyk
On Fri, Feb 26, 2010 at 10:11 AM, Bill Pemberton wf...@viridian.itc.virginia.edu wrote: Does the array have any kind of writeback cache? Yes, the array has a writeback cache. Are all of the filesystems spread across all of the drives?  Or do some filesystems use some drives only? In

Re: btrfs no csum found for inode X start 0

2010-02-25 Thread Mike Fedyk
On Thu, Feb 25, 2010 at 12:52 PM, Leszek Ciesielski skol...@gmail.com wrote: I have changed the btrfs code to ignore checksum failures and now I can read files correctly from the filesystem. Also, moving them onto another volume and then back into btrfs fixes the checksums and no more errors

Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem

2010-02-24 Thread Mike Fedyk
On Wed, Feb 24, 2010 at 3:35 PM, Chris Mason chris.ma...@oracle.com wrote: On Mon, Feb 22, 2010 at 07:47:40PM +0100, Goffredo Baroncelli wrote: On Monday 22 February 2010, Mike Fedyk wrote: On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli kreij...@gmail.com wrote:       filesystem

Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem

2010-02-21 Thread Mike Fedyk
On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli kreij...@gmail.com wrote:       filesystem resize [+/-]size[gkm]|max filesystem -filesystem resize [+/-]size[gkm]|max filesystem +filesystem resize [+/-]size[gkm]|max dev This command works on devices, not paths.              Resize a

df shows wrong device while waiting for umount

2010-02-19 Thread Mike Fedyk
Hi, Kernel 2.6.33-0.46.rc8.git1.fc13.x86_64 I think I ran into the issue that triggers when you write the a btrfs filesystem and then umount it and it takes a long time while writing out the data. It ends up writing at about 1MiB/second according to dstat. My understanding this issue is

Re: btrfs testing suite?

2010-02-19 Thread Mike Fedyk
On Fri, Feb 19, 2010 at 10:46 AM, Mr. Tux tuxoho...@hotmail.de wrote: Hi listIs there a btrfs testing suite the btrfs developers use to check the codebase? I did some research and found a projectcalled xfstests-dev. It supports ext4 as well - are there any patches to get btrfs support with

Re: [RFC] btrfs: a new tool to manage a btrfs filesystem

2010-02-19 Thread Mike Fedyk
On Fri, Feb 19, 2010 at 12:12 PM, Goffredo Baroncelli kreij...@gmail.com wrote: Hi all, on the basis of the suggestion received, I update my btrfs tool. The main changes are: - removed the short form of the command (like '-C') - deployed the multi level command (i.e.: btrfs snapshot create)

Re: [Regression] Filesystem I/O is CPU-bound in rc7 and rc8

2010-02-19 Thread Mike Fedyk
On Sat, Feb 13, 2010 at 7:11 PM, James Cloos cl...@jhcloos.com wrote: Sometime between rc6 and rc7 all filesystem I/O started using 100% CPU, usually on the order of 60% sys, 40% user. I've tried this with each of ext4, jfs and btrfs filesystems.  All show the same issue. Are you sure

Which volume? no space left, need 4096, 274432 delalloc bytes, 8360148992 bytes_used, 4096 bytes_reserved, 0 bytes_pinned, 0 bytes_readonly, 0 may use 8360427520 total

2010-02-19 Thread Mike Fedyk
If I had more than one btrfs volume, how would I know which volume caused these errors? Sure I can look at df and btrfs-show, but shouldn't these messages say definitively? Feb 19 04:31:26 dt01 kernel: no space left, need 4096, 274432 delalloc bytes, 8360148992 bytes_used, 4096 bytes_reserved, 0

Re: [PATCH 0/2 V2] btrfs: a new tool to manage a btrfs filesystem

2010-02-18 Thread Mike Fedyk
On Thu, Feb 18, 2010 at 8:58 AM, Chris Mason chris.ma...@oracle.com wrote: I do like the subcommand method, more details below. On Wed, Feb 17, 2010 at 03:35:26PM -0800, Mike Fedyk wrote: I think he need some command hierarchy here. On Wed, Feb 17, 2010 at 12:02 PM, Goffredo Baroncelli

Re: [PATCH 0/2 V2] btrfs: a new tool to manage a btrfs filesystem

2010-02-18 Thread Mike Fedyk
On Thu, Feb 18, 2010 at 11:59 AM, Goffredo Baroncelli kreij...@gmail.com wrote: On Thursday 18 February 2010, Chris Mason wrote: I do like the subcommand method, more details below. I try to summarise your suggestions. But there are some cases not to clear for me. I grouped the commands in

Re: [PATCH 0/2 V2] btrfs: a new tool to manage a btrfs filesystem

2010-02-17 Thread Mike Fedyk
I think he need some command hierarchy here. On Wed, Feb 17, 2010 at 12:02 PM, Goffredo Baroncelli kreij...@gmail.com wrote: OPTIONS       snapshot|-s source [dest/]name              Create a writeble snapshot of the subvolume  source  with  the              name  name  in the dest directory.

Re: [PATCH 0/2] btrfs: a new tool to manage a btrfs filesystem

2010-02-16 Thread Mike Fedyk
On Sun, Feb 14, 2010 at 7:39 AM, Goffredo Baroncelli kreij...@gmail.com wrote: Hi all, On Sunday 14 February 2010, Thomas Kupper wrote: Hi Goffredo, Great work! It is indeed much easier to work with one tool instead with the many of them! Usage:         btrfs snapshot|-s source

Re: zero-length files in snapshots

2010-02-12 Thread Mike Fedyk
On Fri, Feb 12, 2010 at 7:19 AM, Josef Bacik jo...@redhat.com wrote: On Thu, Feb 11, 2010 at 08:50:48PM -0800, Mike Fedyk wrote: On Thu, Feb 11, 2010 at 7:11 PM, Chris Ball c...@laptop.org wrote:   echo x1 /mnt/x/d/foo.txt || exit 2   btrfsctl -s /mnt/x/snap /mnt/x/d You're just

Re: zero-length files in snapshots

2010-02-12 Thread Mike Fedyk
On Fri, Feb 12, 2010 at 8:22 AM, Josef Bacik jo...@redhat.com wrote: On Fri, Feb 12, 2010 at 08:18:01AM -0800, Mike Fedyk wrote: On Fri, Feb 12, 2010 at 7:19 AM, Josef Bacik jo...@redhat.com wrote: On Thu, Feb 11, 2010 at 08:50:48PM -0800, Mike Fedyk wrote: On Thu, Feb 11, 2010 at 7:11 PM

Re: [PATCH 0/2] btrfs: a new tool to manage a btrfs filesystem

2010-02-12 Thread Mike Fedyk
On Fri, Feb 12, 2010 at 11:01 AM, Goffredo Baroncelli kreij...@gmail.com wrote: Usage:        btrfs delete|-D subvolume                Delete the subvolume subvolume.        btrfs defrag|-d file|dir [file|dir...]                Defragment a file or a directory. I think the short options

Re: Kernel BUG on mounting BtrFS / after reboot

2010-02-12 Thread Mike Fedyk
On Fri, Feb 12, 2010 at 1:04 PM, Alex Elsayed eternal...@gmail.com wrote: I'm getting a rather nasty BUG when I try to mount this filesystem, _including_ when I specify -o ro. I'm unsure what caused it, but the problem manifested after my computer hardlocked while reading my RSS feeds, complete

Re: zero-length files in snapshots

2010-02-11 Thread Mike Fedyk
On Thu, Feb 11, 2010 at 7:11 PM, Chris Ball c...@laptop.org wrote:   echo x1 /mnt/x/d/foo.txt || exit 2   btrfsctl -s /mnt/x/snap /mnt/x/d You're just missing a sync/fsync() between these two lines. We argued on IRC a while ago about whether this is a sensible default; cmason wants the