Re: [3.4-rc1] attempt to access beyond end of device and livelock

2012-04-08 Thread Liu Bo
On 04/06/2012 07:36 PM, Daniel J Blueman wrote: Hi Josef, Chris, When testing BTRFS with RAID 0 metadata on linux-3.4-rc1, we see discard ranges exceeding the end of the block device [1], potentially causing dataloss; when this occurs, filesystem writeback becomes catatonic due to continual

[PATCH] Btrfs: fix eof while discarding extents

2012-04-08 Thread Liu Bo
We miscalculate the length of extents we're discarding, and it leads to an eof of device. Reported-by: Daniel Blueman dan...@quora.org Signed-off-by: Liu Bo liubo2...@cn.fujitsu.com --- fs/btrfs/volumes.c | 20 ++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git

[PATCH] Revert Btrfs: increase the global block reserve estimates

2012-04-08 Thread David Sterba
This reverts commit 5500cdbe14d7435e04f66ff3cfb8ecd8b8e44ebf. We had numerous reports of premature ENOSPC that were bisected to this patch. Reverting will not break things but a warning in 'use_block_rsv' may show up in the syslog. There's no alternative fix in sight and the ENOSPC problem

snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-08 Thread Fajar A. Nugraha
On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell aschn...@suse.de wrote: We have now created a project in the openSUSE buildservice were we provide snapper packages for various distributions, e.g. RHEL6 and Fedora 16. Please find the downloads at:  

Re: [PATCH] Revert Btrfs: increase the global block reserve estimates

2012-04-08 Thread Liu Bo
On 04/09/2012 07:40 AM, David Sterba wrote: This reverts commit 5500cdbe14d7435e04f66ff3cfb8ecd8b8e44ebf. We had numerous reports of premature ENOSPC that were bisected to this patch. Reverting will not break things but a warning in 'use_block_rsv' may show up in the syslog. There's no