Re: cannot remove files: No space left on device

2011-06-12 Thread Mike Fleetwood
On 12 June 2011 00:32, Tomasz Chmielewski man...@wpkg.org wrote: I'm trying to remove some files on a btrfs filesystem which has 26 GB free: /dev/sdb4             336G  310G   26G  93% /mnt/btrfs Unfortunately, removing some of the files fails, due to No space left on device:

Re: cannot remove files: No space left on device

2011-06-12 Thread Tomasz Chmielewski
On 12.06.2011 10:27, Mike Fleetwood wrote: Check out the btrfs FAQ about space usage: https://btrfs.wiki.kernel.org/index.php/FAQ#Why_are_there_so_many_ways_to_check_the_amount_of_free_space.3F and try these command too: btrfs filesystem df /mnt/btrfs btrfs filesystem show /dev/sdb4

[GIT PULL] Btrfs updates

2011-06-12 Thread Chris Mason
Hi everyone, The for-linus branch of the btrfs unstable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git for-linus Has our current queue of fixes. Josef's is the biggest pile, mostly in the allocator. Josef and I both managed to merge his patch to avoid mapping the

Re: [GIT PULL] Btrfs updates

2011-06-12 Thread Linus Torvalds
On Sun, Jun 12, 2011 at 4:57 AM, Chris Mason chris.ma...@oracle.com wrote: The for-linus branch of the btrfs unstable tree: Chris, this is getting ridiculous. You guys need to start honoring the merge window. None of these big pulls afterwards. If the code wasn't ready, it damn well shouldn't

[PATCH] btrfs-progs: Fix over-sized limit on buffer

2011-06-12 Thread Hugo Mills
gcc-4.4 complains (rightly) that the strncpy has a limit too large for the array it's copying into. Use the correct array length. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs_cmds.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/btrfs_cmds.c b/btrfs_cmds.c

btrfs-progs -- all the patches in one place

2011-06-12 Thread Hugo Mills
I've just spent the last few hours hoovering up all of the uncommitted user-space patches I could find on the mailing list since November, and applying them all into one git branch. It's on my git repo[1], in the integration-20110611 branch. I was pretty uncritical about what I picked up, so

Re: btrfs-progs -- all the patches in one place

2011-06-12 Thread Hugo Mills
On Sun, Jun 12, 2011 at 10:40:47PM +0100, Hugo Mills wrote: I've just spent the last few hours hoovering up all of the uncommitted user-space patches I could find on the mailing list since November, and applying them all into one git branch. It's on my git repo[1] [1]

Re: [PATCH 2/5][REPOST][BTRFS-PROGS] Be more verbose when a ioctl returns an error

2011-06-12 Thread Hugo Mills
Goffredo - This is missing a S-o-B, and is damaged with line-wrapping. If you fix it up and re-send, I can pull into my integration branch so it doesn't get forgotten... Hugo. On Sun, Dec 05, 2010 at 06:47:38PM +0100, Goffredo Baroncelli wrote: Hi all, this patch makes the command

Re: [PATCH 4/5][REPOST][BTRFS-PROGS] Avoid to scan cdrom and floppy

2011-06-12 Thread Hugo Mills
Goffredo - As with the other patch, this is missing S-o-B, and has some damage from line wrapping. If you fix and re-send, I'll pull into my integration branch. Hugo. On Sun, Dec 05, 2010 at 06:47:15PM +0100, Goffredo Baroncelli wrote: Hi all, the commands btrfs filesystem show

Re: [GIT PULL] Btrfs updates

2011-06-12 Thread Andi Kleen
Chris Mason chris.ma...@oracle.com writes: Hi everyone, The for-linus branch of the btrfs unstable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git for-linus Has our current queue of fixes. Josef's is the biggest pile, mostly in the allocator. Josef and I

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming infrastructure. There were problems with

Re: [GIT PULL] Btrfs updates

2011-06-12 Thread Chris Mason
Excerpts from Andi Kleen's message of 2011-06-12 21:02:54 -0400: Chris Mason chris.ma...@oracle.com writes: Hi everyone, The for-linus branch of the btrfs unstable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git for-linus Has our current queue of

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Chris Mason
Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first

Re: [GIT PULL] Btrfs updates

2011-06-12 Thread Li Zefan
09:02, Andi Kleen wrote: Chris Mason chris.ma...@oracle.com writes: Hi everyone, The for-linus branch of the btrfs unstable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git for-linus Has our current queue of fixes. Josef's is the biggest pile, mostly in

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Li Zefan wrote: Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first

[PATCH] Btrfs: turn to readonly when btrfs_join_transaction() fails

2011-06-12 Thread Tsutomu Itoh
When btrfs_join_transaction()/btrfs_join_transaction_nolock() fails, we should call btrfs_std_error() properly for filesystem to readonly. Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com --- This patch is dependent on http://marc.info/?l=linux-btrfsm=130761239706076w=2 (it is necessary to

[PATCH] Btrfs: turn to readonly when btrfs_start_ioctl_transaction() fails

2011-06-12 Thread Tsutomu Itoh
When btrfs_start_ioctl_transaction() fails, we should call btrfs_std_error() properly for filesystem to readonly. Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com --- This patch needs btrfs_abort_transaction function. fs/btrfs/ioctl.c |4 +++- 1 files changed, 3 insertions(+), 1