Re: system crash on replace

2016-06-23 Thread Scott Talbert
On Thu, 23 Jun 2016, Steven Haigh wrote: On 24/06/16 04:35, Austin S. Hemmelgarn wrote: On 2016-06-23 13:44, Steven Haigh wrote: Hi all, Relative newbie to BTRFS, but long time linux user. I pass the full disks from a Xen Dom0 -> guest DomU and run BTRFS within the DomU. I've migrated my

Re: Runaway SLAB usage by 'bio' during 'device replace'

2016-05-31 Thread Scott Talbert
On Tue, 31 May 2016, Filipe Manana wrote: On Mon, May 30, 2016 at 7:48 PM, Chris Johnson wrote: I have a RAID6 array that had a failed HDD. The drive failed completely and has been removed from the system. I'm running a 'device replace' operation with a new disk. The

Re: Device replace issues and disabling it until they are solved

2016-05-26 Thread Scott Talbert
On Wed, 11 May 2016, Filipe Manana wrote: I've noticed some time ago that our device replace implementation is unreliable. Basically under several situations it ends up not copying extents (both data and metadata) from the old device to the new device (I briefly talked about some of the

[PATCH] btrfs: fix memory leak during RAID 5/6 device replacement

2016-05-09 Thread Scott Talbert
A 'struct bio' is allocated in scrub_missing_raid56_pages(), but it was never freed anywhere. Signed-off-by: Scott Talbert <scott.talb...@hgst.com> --- fs/btrfs/scrub.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index 82bedf9..607cc6e