Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-19 Thread David Sterba
On Fri, Sep 16, 2011 at 10:25:51AM -0600, Jim Schutt wrote: WARNING: at fs/btrfs/extent-tree.c:5711 btrfs_alloc_free_block+0x180/0x350 [btrfs]() FWIW, I'm seeing a slightly different case, while testing branch integration/btrfs-next (commit 2828cbd9620e03) from

kerenl bug after btrfs resize (reduce size)

2011-09-19 Thread Roman Kapusta
After running 'btrfs fi resize' I got following error, fortunately, it looks that filesystem is ok. I was changing filesystem size from 256 GB to 192 GB (reducing by 64GB), free space was 110GB. My system is Fedora 14. I'm considering upgrade to Fedora 15, is this already fixed? Sep 19 12:58:54

Re: kerenl bug after btrfs resize (reduce size)

2011-09-19 Thread Hugo Mills
On Mon, Sep 19, 2011 at 02:24:55PM +0200, Roman Kapusta wrote: After running 'btrfs fi resize' I got following error, fortunately, it looks that filesystem is ok. I was changing filesystem size from 256 GB to 192 GB (reducing by 64GB), free space was 110GB. I would be careful here -- the

Re: kerenl bug after btrfs resize (reduce size)

2011-09-19 Thread Roman Kapusta
On Mon, Sep 19, 2011 at 14:38, Hugo Mills h...@carfax.org.uk wrote: On Mon, Sep 19, 2011 at 02:24:55PM +0200, Roman Kapusta wrote: After running 'btrfs fi resize' I got following error, fortunately, it looks that filesystem is ok. I was changing filesystem size from 256 GB to 192 GB (reducing

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-19 Thread Josef Bacik
On 09/16/2011 12:25 PM, Jim Schutt wrote: David Sterba wrote: On Thu, Sep 15, 2011 at 11:44:09AM -0700, Sage Weil wrote: On Tue, 13 Sep 2011, Liu Bo wrote: On 09/11/2011 05:47 AM, Martin Mailand wrote: Hi I am hitting this Warning reproducible, the workload is a ceph osd, kernel ist

[PATCH] Btrfs: make sure to unset trans-block_rsv before running delayed refs

2011-09-19 Thread Josef Bacik
Checksums are charged in 2 different ways. The first case is when we're writing to the disk, we account for the new checksums with the delalloc block rsv. In order for this to work we check if we're allocating a block for the csum root and if trans-block_rsv == the delalloc block rsv. But when

[PATCH] Btrfs: delay iput when deleting a block group

2011-09-19 Thread Josef Bacik
I kept getting warnings from evict because we were calling btrfs_start_transaction() with a transaction already started when doing a balance. This is because we remove a block group which requires a transaction, and the put the last reference on the cache inode. Instead of doing this we need to

Re: [PATCH 1/7] BTRFS: Fix lseek return value for error

2011-09-19 Thread Andi Kleen
On Mon, Sep 19, 2011 at 03:30:02PM -0400, Chris Mason wrote: Excerpts from Andi Kleen's message of 2011-09-19 13:52:03 -0400: Thanks everyone, I've put Jeff's last version of this in my queue. Can you post the version you merged? The previous ones all had issues.

Re: [PATCH 1/7] BTRFS: Fix lseek return value for error

2011-09-19 Thread Chris Mason
Excerpts from Andi Kleen's message of 2011-09-19 15:59:52 -0400: On Mon, Sep 19, 2011 at 03:30:02PM -0400, Chris Mason wrote: Excerpts from Andi Kleen's message of 2011-09-19 13:52:03 -0400: Thanks everyone, I've put Jeff's last version of this in my queue. Can you post the version

Re: Inefficient storing of ISO images with compress=lzo

2011-09-19 Thread Maciej Marcin Piechotka
On Mon, 2011-09-19 at 10:53 +0800, Li Zefan wrote: Maciej Marcin Piechotka wrote: I've noticed that: - with x86-64 Fedora 15 DVD install images: - du -sh ROOT VOLUME was 36 GB - btrfs df | grep -i data have shown over 40 GB used - without - du -sh ROOT VOLUME is 34 GB

[GIT PULL] Btrfs fixes

2011-09-19 Thread Chris Mason
Hi everyone, The for-linus branch of the btrfs tree on github: Head commit: a66e7cc626f42de6c745963fe0d807518fa49d39 git://github.com/chrismason/linux.git for-linus Has the following fixes. for-linus is against rc6, since some of these are regression fixes for earlier 3.1 btrfs commits. The

Re: Inefficient storing of ISO images with compress=lzo

2011-09-19 Thread Li Zefan
07:06, Maciej Marcin Piechotka wrote: On Mon, 2011-09-19 at 10:53 +0800, Li Zefan wrote: Maciej Marcin Piechotka wrote: I've noticed that: - with x86-64 Fedora 15 DVD install images: - du -sh ROOT VOLUME was 36 GB - btrfs df | grep -i data have shown over 40 GB used - without -