Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b

2011-02-06 Thread Chris Dunlop
On Mon, Feb 07, 2011 at 05:31:02PM +1100, Chris Dunlop wrote: > G'day, > > Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I > can consistently reproduce the following btrfs warning by simply > creating and starting a new btrfs-based ceph file system: > > [ 549.767234] [

[PATCH] Btrfs-progs utils Informative errors

2011-02-06 Thread Goldwyn Rodrigues
btrfs utils errors on removable media devices with no media that cannot be read. Make the error more informative using strerror so it may be safely be ignored by users. Also corrected the directory name of the device directory being scanned. diff --git a/utils.c b/utils.c index fd894f3..589bfd7 1

WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b

2011-02-06 Thread Chris Dunlop
G'day, Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I can consistently reproduce the following btrfs warning by simply creating and starting a new btrfs-based ceph file system: [ 549.767234] [ cut here ] [ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btr

[PATCH v2] btrfs: fix return value check of btrfs_start_transaction()

2011-02-06 Thread Tsutomu Itoh
The error check of btrfs_start_transaction() is added, and the mistake of the error check on several places is corrected. [NOTE] This is a short-term solution. With this patch: - The panic isn't done by the NULL pointer reference etc. (even if BUG_ON() is increased temporarily) - The err

[PATCH] Btrfs - Fix memory leak in btrfs_init_new_device()

2011-02-06 Thread Ilya Dryomov
Memory allocated by calling kstrdup() should be freed. Signed-off-by: Ilya Dryomov --- fs/btrfs/volumes.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index d158530..9649cdd 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes

How are b+-trees are useind in filesystems

2011-02-06 Thread Serdar Dere
Hello, I am new here and I think this is not a real btrfs question but a general filesystem-btree question. I want to know how I do these following things: - How do I translate "/home/serdar/public_html" -> btree - how do I know how files/directories are related to each other I did these with