Re: unable to handle kernel paging request - btrfs

2016-10-10 Thread Rich Freeman
Here is another trace, similar to the original issue, but I have a bit more detail on this one and it is available as text which if nothing else is more convenient so I'll go ahead and paste this. I don't intend to keep pasting these unless I get something that looks different. I only posted the

Re: unable to handle kernel paging request - btrfs

2016-10-08 Thread Rich Freeman
I'm not sure if this is related to the same issue or not, but I just started getting a new BUG, followed by a panic. (I'm also enabled network console capture so that you won't have to squint at photos.) Original BUG is: [14740.444257] [ cut here ] [14740.444293] kernel

Re: unable to handle kernel paging request - btrfs

2016-10-07 Thread Rich Freeman
On Fri, Sep 30, 2016 at 8:38 PM, Jeff Mahoney wrote: > On 9/30/16 5:07 PM, Rich Freeman wrote: >> On Fri, Sep 30, 2016 at 4:55 PM, Jeff Mahoney wrote: >>> This looks like a use-after-free on one of the pages used for >>> compression. Can you post the output of o

Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Rich Freeman
On Fri, Sep 30, 2016 at 4:55 PM, Jeff Mahoney wrote: > This looks like a use-after-free on one of the pages used for > compression. Can you post the output of objdump -Dr > /lib/modules/$(uname -r)/kernel/fs/btrfs/btrfs.ko somewhere? > Sure: https://drive.google.com/open?id=0BwUDImviY_gcR3JfT0Z1

Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Rich Freeman
On Thu, Sep 22, 2016 at 1:41 PM, Jeff Mahoney wrote: > On 9/22/16 8:18 AM, Rich Freeman wrote: >> I have been getting panics consistently after doing a btrfs replace >> operation on a raid1 and rebooting. I linked a photo of the panic; I >> haven't been able t

Re: unable to handle kernel paging request - btrfs

2016-09-25 Thread Rich Freeman
On Sun, Sep 25, 2016 at 7:39 PM, Jeff Mahoney wrote: > > I'm not sure about other distros, but at least with SLES/openSUSE you > can configure kdump to /just/ dump the dmesg. > Well, on Gentoo I wrote the official docs on how it works, quite some time ago... :) It is purely manual, so you can o

Re: unable to handle kernel paging request - btrfs

2016-09-25 Thread Rich Freeman
On Sun, Sep 25, 2016 at 7:22 PM, Jeff Mahoney wrote: > On 9/25/16 9:55 AM, Rich Freeman wrote: >> On Fri, Sep 23, 2016 at 12:58 AM, Duncan <1i5t5.dun...@cox.net> wrote: >>> >>> Btrfs raid1 you say, and you have existing compressed files it's trying >&g

Re: unable to handle kernel paging request - btrfs

2016-09-25 Thread Rich Freeman
On Fri, Sep 23, 2016 at 12:58 AM, Duncan <1i5t5.dun...@cox.net> wrote: > > Btrfs raid1 you say, and you have existing compressed files it's trying > to read in the backtrace? > > Sounds like the issues I see sometimes and have posted about where after > a crash that resulted in one device of my rai

Re: unable to handle kernel paging request - btrfs

2016-09-22 Thread Rich Freeman
On Sep 22, 2016 8:18 AM, "Rich Freeman" wrote: > > I have been getting panics consistently after doing a btrfs replace > operation on a raid1 and rebooting. I linked a photo of the panic; I > haven't been able to get a text capture of it. > > https://ibin.co/2vx0

unable to handle kernel paging request - btrfs

2016-09-22 Thread Rich Freeman
I have been getting panics consistently after doing a btrfs replace operation on a raid1 and rebooting. I linked a photo of the panic; I haven't been able to get a text capture of it. https://ibin.co/2vx0HhDeViu3.jpg I'm getting this error on the latest 4.4, 4.1, and even on an old 3.18.26 kerne

Re: btrfs and containers

2016-03-09 Thread Rich Freeman
On Wed, Mar 9, 2016 at 4:45 PM, Marc MERLIN wrote: > On Wed, Mar 09, 2016 at 02:21:26PM -0700, Chris Murphy wrote: >> > I have a very stripped down docker image that actually mounts portion of >> > of my root filesystem read only. >> > While it's running out of a btrfs filesystem, you can't run bt

Re: btrfs raid

2016-03-06 Thread Rich Freeman
On Sun, Mar 6, 2016 at 4:07 PM, Chris Murphy wrote: > On Sun, Mar 6, 2016 at 5:01 AM, Rich Freeman wrote: > >> I think it depends on how you define "old." I think that 3.18.28 >> would be fine as it is a supported longterm. > > For raid56? I disagree. There we

Re: btrfs raid

2016-03-06 Thread Rich Freeman
On Tue, Mar 1, 2016 at 11:27 AM, Hugo Mills wrote: > >Definitely don't use parity RAID on 3.19. It's not really something > I'd trust, personally, even on 4.4, except for testing purposes. ++ - raid 5/6 are fairly unstable at this point. Raid 1 should be just fine. >TBH, I wouldn't real

Re: Deadlock after upgrade to 4.1

2015-12-29 Thread Rich Freeman
On Fri, Dec 25, 2015 at 11:34 PM, Chris Murphy wrote: > I would then also try to reproduce with 4.2.8 or 4.3.3 because those > have ~ 25% backports than made it to 4.1.15, so there's an off chance > it's fixed there. I take it that those backports are in the queue though? I was actually thinking

Re: btrfs autodefrag?

2015-10-18 Thread Rich Freeman
On Sat, Oct 17, 2015 at 12:36 PM, Xavier Gnata wrote: > 2) Disabling copy-on-write for just the VM image directory. Unless this has changed, doing this will also disable checksumming. I don't see any reason why it has to, but it does. So, I avoid using this at all costs. -- Rich -- To unsubscr

Re: RAID6 stable enough for production?

2015-10-15 Thread Rich Freeman
On Wed, Oct 14, 2015 at 9:47 PM, Chris Murphy wrote: > > For that matter, now that GlusterFS has checksums and snapshots... Interesting - I haven't kept up with that. Does it actually do end-to-end checksums? That is, compute the checksum at the time of storage, store the checksum in the metada

Re: State of Dedup / Defrag

2015-10-15 Thread Rich Freeman
On Wed, Oct 14, 2015 at 10:47 PM, Zygo Blaxell wrote: > > I wouldn't describe dedup+defrag as unsafe. More like insane. You won't > lose any data, but running both will waste a lot of time and power. > Either one is OK without the other, or applied to non-overlapping sets > of files, but they ar

Re: RAID6 stable enough for production?

2015-10-14 Thread Rich Freeman
On Wed, Oct 14, 2015 at 4:53 PM, Donald Pearson wrote: > > Personally I would still recommend zfs on illumos in production, > because it's nearly unshakeable and the creative things you can do to > deal with problems are pretty remarkable. The unfortunate reality is > though that over time your s

Re: State of Dedup / Defrag

2015-10-14 Thread Rich Freeman
On Wed, Oct 14, 2015 at 1:09 AM, Zygo Blaxell wrote: > > I wouldn't try to use dedup on a kernel older than v4.1 because of these > fixes in 4.1 and later: I would assume that these would be ported to the other longterm kernels like 3.18 at some point? > Do dedup a photo or video file collection

State of Dedup / Defrag

2015-10-13 Thread Rich Freeman
What is the current state of Dedup and Defrag in btrfs? I seem to recall there having been problems a few months ago and I've stopped using it, but I haven't seen much news since. I'm interested both in the 3.18 and subsequent kernel series. -- Rich -- To unsubscribe from this list: send the lin

Re: BTRFS as image store for KVM?

2015-10-05 Thread Rich Freeman
On Mon, Oct 5, 2015 at 7:16 AM, Lionel Bouton wrote: > According to the bad performance -> unstable logic, md would then be the > less stable RAID1 implementation which doesn't make sense to me. > The argument wasn't that bad performance meant that something was unstable. The argument was that a

Re: BTRFS as image store for KVM?

2015-10-04 Thread Rich Freeman
On Sun, Oct 4, 2015 at 8:03 AM, Lionel Bouton wrote: > > This focus on single reader RAID1 performance surprises me. > > 1/ AFAIK the kernel md RAID1 code behaves the same (last time I checked > you need 2 processes to read from 2 devices at once) and I've never seen > anyone arguing that the curr

Re: fstrim silently does nothing on dev add/dev rem'd filesystem

2015-09-27 Thread Rich Freeman
On Sun, Sep 27, 2015 at 10:45 PM, Duncan <1i5t5.dun...@cox.net> wrote: > But I think part of reasoning behind the relatively low priority this > issue has received is that it's a low visibility issue not really > affecting most people running btrfs, either because they're not running > on ssd or be

Re: Latest kernel to use?

2015-09-25 Thread Rich Freeman
On Fri, Sep 25, 2015 at 9:25 AM, Bostjan Skufca wrote: > > Similar here: I am sticking with 3.19.2 which has proven to work fine for me I'd recommend still tracking SOME stable series. I'm sure there were fixes in 3.19 for btrfs (to say nothing of other subsystems) that you're missing with that

Re: Latest kernel to use?

2015-09-25 Thread Rich Freeman
On Fri, Sep 25, 2015 at 7:20 AM, Austin S Hemmelgarn wrote: > On 2015-09-24 17:07, Sjoerd wrote: >> >> Maybe a silly question for most of you, but the wiki states to always try >> to >> use the latest kernel with btrfs. Which one would be best: >> - 4.2.1 (currently latest stable and matches the b

Re: BTRFS as image store for KVM?

2015-09-25 Thread Rich Freeman
On Sat, Sep 19, 2015 at 9:26 PM, Jim Salter wrote: > > ZFS, by contrast, works like absolute gangbusters for KVM image storage. I'd be interested in what allows ZFS to handle KVM image storage well, and whether this could be implemented in btrfs. I'd think that the fragmentation issues would pot

Re: FYIO: A rant about btrfs

2015-09-16 Thread Rich Freeman
On Wed, Sep 16, 2015 at 12:45 PM, Martin Tippmann wrote: > From reading the list I understand that btrfs is still very much work > in progress and performance is not a top priority at this stage but I > don't see why it shouldn't perform at least equally good as ZFS/F2FS > on the same workloads. I

Re: raid1 on uneven-sized disks

2015-08-09 Thread Rich Freeman
On Sun, Aug 9, 2015 at 8:47 AM, Hugo Mills wrote: > On Sun, Aug 09, 2015 at 02:29:53PM +0200, Jim MacBaine wrote: >> Hi, >> >> How does btrfs handle raid1 on a bunch of uneven sized disks? Can I >> just keep adding arbitrarily sized disks to an existing raid1 and >> expect the file system to conti

Re: systemd : Timed out waiting for defice dev-disk-by…

2015-07-30 Thread Rich Freeman
On Mon, Jul 27, 2015 at 1:20 AM, Duncan <1i5t5.dun...@cox.net> wrote: > Philip Seeger posted on Sun, 26 Jul 2015 22:39:04 +0200 as excerpted: > >> Hi, >> >>> 50% of the time when booting, the system go in safe mode because my 12x >>> 4TB RAID10 btrfs is taking too long to mount from fstab. >> >> Th

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Rich Freeman
On Mon, Apr 13, 2015 at 12:58 PM, Greg KH wrote: > On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: >> On Thu, 2 Apr 2015 10:17:47 -0400 >> Chris Mason wrote: >> >> > Hi stable friends, >> > >> > Can you please backport this one to 3.19.y. It fixes a bug introduced >> > by: >> > >>

Re: Upgrade to 3.19.2 Kernel fails to boot

2015-04-01 Thread Rich Freeman
On Wed, Apr 1, 2015 at 2:50 AM, Anand Jain wrote: > > Eric found something like this and has a fix with in the email. > Sub: "I think "btrfs: fix leak of path in btrfs_find_item" broke stable > trees ..." > I don't mind trying this patch if the maintainers recommend it. I'm still getting panics

Re: btrfs dedup - available or experimental? Or yet to be?

2015-03-29 Thread Rich Freeman
On Sun, Mar 29, 2015 at 7:43 AM, Kai Krakow wrote: > > With the planned performance improvements, I'm guessing the best way will > become mounting the root subvolume (subvolid 0) and letting duperemove work > on that as a whole - including crossing all fs boundaries. > Why cross filesystem bounda

Re: btrfs dedup - available or experimental? Or yet to be?

2015-03-26 Thread Rich Freeman
On Thu, Mar 26, 2015 at 8:07 PM, Martin wrote: > > Anyone with any comments on how well duperemove performs for TB-sized > volumes? Took many hours but less than a day for a few TB - I'm not sure whether it is smart enough to take less time on subsequent scans like bedup. > > Does it work across

Re: snapshot destruction making IO extremely slow

2015-03-25 Thread Rich Freeman
On Wed, Mar 25, 2015 at 6:55 AM, Marc Cousin wrote: > On 25/03/2015 02:19, David Sterba wrote: >> as it reads the pre/post snapshots and deletes them if the diff is >> empty. This adds some IO stress. > > I couldn't find a clear explanation in the documentation. Does it mean > that when there is a

Re: btrfs dedup - available or experimental? Or yet to be?

2015-03-24 Thread Rich Freeman
On Mon, Mar 23, 2015 at 7:22 PM, Hugo Mills wrote: > On Mon, Mar 23, 2015 at 11:10:46PM +, Martin wrote: >> As titled: >> >> >> Does btrfs have dedup (on raid1 multiple disks) that can be enabled? > >The current state of play is on the wiki: > > https://btrfs.wiki.kernel.org/index.php/Dedu

Re: Upgrade to 3.19.2 Kernel fails to boot

2015-03-24 Thread Rich Freeman
On Tue, Mar 24, 2015 at 2:31 AM, Anand Jain wrote: > Do you have this fix .. > > [PATCH] Btrfs: release path before starting transaction in can_nocow_extent > > could you try ?. I believe I already have this patch. 3.18.9 contains this: commit bdeeab62a611f1f7cd48fd285ce568e8dcd0455a Merge: 79

Re: Upgrade to 3.19.2 Kernel fails to boot

2015-03-23 Thread Rich Freeman
On Mon, Mar 23, 2015 at 9:22 AM, Rich Freeman wrote: > > I'm having a similar problem. I'm getting some kind of btrfs > corruption that causes a panic/reboot, and then the initramfs won't > mount root for 3.18.9, but it will mount it for 3.18.8. > > Running on 3

Re: Upgrade to 3.19.2 Kernel fails to boot

2015-03-23 Thread Rich Freeman
On Mon, Mar 23, 2015 at 4:23 AM, Anand Jain wrote: > > Do you still have the problem ? Can you pls confirm on the latest btrfs ? > Since I am fixing the devices part of the btrfs, I am bit nervous. I'm having a similar problem. I'm getting some kind of btrfs corruption that causes a panic/reboot

btrfs raid5 with mixed disks

2015-02-09 Thread Rich Freeman
How does btrfs raid5 handle mixed-size disks? The docs weren't terribly clear on this. Suppose I have 4x3TB and 1x1TB disks. Using conventional lvm+mdadm in raid5 mode I'd expect to be able to fit about 10TB of space on those (2TB striped across 4 disks plus 1TB striped across 5 disks after part

Re: scrub implies failing drive - smartctl blissfully unaware

2014-11-25 Thread Rich Freeman
On Tue, Nov 25, 2014 at 6:13 PM, Chris Murphy wrote: > A few years ago companies including Western Digital started shipping > large cheap drives, think of the "green" drives. These had very high > TLER (Time Limited Error Recovery) settings, a.k.a. SCT ERC. Later > they completely took out the abi

Re: filesystem corruption

2014-10-30 Thread Rich Freeman
On Thu, Oct 30, 2014 at 9:02 PM, Tobias Holst wrote: > Addition: > I found some posts here about a general file system corruption in 3.17 > and 3.17.1 - is this the cause? > Additionally I am using ro-snapshots - maybe this is the cause, too? > > Anyway: Can I fix that or do I have to reinstall? H

Re: BTRFS balance segfault, where to go from here

2014-10-28 Thread Rich Freeman
On Tue, Oct 28, 2014 at 9:33 AM, Duncan <1i5t5.dun...@cox.net> wrote: > Since it's not an option here I've not looked into it too closely > personally, and don't know if it'll fit your needs, but if it does, it > may well be simpler to substitute it into the existing backup setup > without rewritin

Re: BTRFS balance segfault, where to go from here

2014-10-28 Thread Rich Freeman
On Tue, Oct 28, 2014 at 9:12 AM, E V wrote: > I've seen dead locks on 3.16.3. Personally, I'm staying with 3.14 > until something newer stabilizes, haven't had any issues with it. You > might want to try the latest 3.14, though I think there should be a > new one pretty soon with quite a few btrfs

Re: btrfs balance segfault, kernel BUG at fs/btrfs/extent-tree.c:7727

2014-10-25 Thread Rich Freeman
On Mon, Oct 13, 2014 at 11:12 AM, Rich Freeman wrote: > On Thu, Oct 9, 2014 at 10:19 AM, Petr Janecek wrote: >> >> I have trouble finishing btrfs balance on five disk raid10 fs. >> I added a disk to 4x3TB raid10 fs and run "btrfs balance start >> /mnt/b3&qu

Re: device balance times

2014-10-24 Thread Rich Freeman
On Fri, Oct 24, 2014 at 12:07 PM, Zygo Blaxell wrote: > > We could also leave this as an option to the user "mount -o > degraded-and-I-want-to-lose-my-data", but in my opinion the use > case is very, very exceptional. Well, it is only exceptional if you never shut down dur

Re: device balance times

2014-10-24 Thread Rich Freeman
On Thu, Oct 23, 2014 at 10:35 PM, Zygo Blaxell wrote: > > - single profile: we can tolerate zero missing disks, > so we don't allow rw mounts even if degraded. > That seems like the wrong logic here. By all means mount read-only by default for safety, but there sh

Re: Poll: time to switch skinny-metadata on by default?

2014-10-21 Thread Rich Freeman
On Tue, Oct 21, 2014 at 5:29 AM, Duncan <1i5t5.dun...@cox.net> wrote: > David Sterba posted on Mon, 20 Oct 2014 18:34:03 +0200 as excerpted: > >> On Thu, Oct 16, 2014 at 01:33:37PM +0200, David Sterba wrote: >>> I'd like to make it default with the 3.17 release of btrfs-progs. >>> Please let me kno

Re: unexplainable corruptions 3.17.0

2014-10-20 Thread Rich Freeman
On Mon, Oct 20, 2014 at 10:04 AM, Zygo Blaxell wrote: > On Fri, Oct 17, 2014 at 08:17:37AM +, Hugo Mills wrote: > On Fri, Oct 17, > 2014 at 10:10:09AM +0200, Tomasz Torcz wrote: >> > On Fri, Oct 17, 2014 at 04:02:03PM +0800, Liu Bo wrote: >> > > > Recently I've observed some corruptions to

Re: unexplainable corruptions 3.17.0

2014-10-17 Thread Rich Freeman
On Fri, Oct 17, 2014 at 8:53 AM, Chris Mason wrote: > This sounds like the problem fixed with some patches to our extent mapping > code that went in with the merge window. I've cherry picked a few for > stable and I'm running them through tests now. They are in my stable-3.17 > branch, and I'll

Re: Random file system corruption in 3.17 (not BTRFS related...?)

2014-10-15 Thread Rich Freeman
On Wed, Oct 15, 2014 at 10:30 AM, Josef Bacik wrote: > We've found it, the Fedora guys are reverting the bad patch now, we'll get > the fix sent back to stable shortly. Sorry about that. After reverting this commit, can the bad snapshots be deleted/repaired/etc without wiping and restoring the e

Re: what is the best way to monitor raid1 drive failures?

2014-10-14 Thread Rich Freeman
On Tue, Oct 14, 2014 at 10:48 AM, Suman C wrote: > > The new drive shows up as sdb. btrfs fi show still prints drive missing. > > mounted the filesystem with ro,degraded > > tried adding the "new" sdb drive which results in the following error. > (-f because the new drive has a fs from past) > > #

Re: btrfs random filesystem corruption in kernel 3.17

2014-10-13 Thread Rich Freeman
On Mon, Oct 13, 2014 at 5:22 PM, john terragon wrote: > I'm using "compress=no" so compression doesn't seem to be related, at > least in my case. Just read-only snapshots on 3.17 (although I haven't > tried 3.16). I was using lzo compression, and hence my comment about turning it off before going

Re: btrfs random filesystem corruption in kernel 3.17

2014-10-13 Thread Rich Freeman
On Mon, Oct 13, 2014 at 4:55 PM, Rich Freeman wrote: > On Mon, Oct 13, 2014 at 4:48 PM, john terragon wrote: >> >> After the rebooting (or the remount) I consistently have the corruption >> with the usual multitude of these in dmesg >> "parent transid verify faile

Re: btrfs random filesystem corruption in kernel 3.17

2014-10-13 Thread Rich Freeman
On Mon, Oct 13, 2014 at 4:48 PM, john terragon wrote: > I think I just found a consistent simple way to trigger the problem > (at least on my system). And, as I guessed before, it seems to be > related just to readonly snapshots: > > 1) I create a readonly snapshot > 2) I do some changes on the so

Re: btrfs random filesystem corruption in kernel 3.17

2014-10-13 Thread Rich Freeman
On Mon, Oct 13, 2014 at 4:27 PM, David Arendt wrote: > From my own experience and based on what other people are saying, I > think there is a random btrfs filesystem corruption problem in kernel > 3.17 at least related to snapshots, therefore I decided to post using > another subject to draw atten

Re: btrfs send and kernel 3.17

2014-10-13 Thread Rich Freeman
On Sun, Oct 12, 2014 at 7:11 AM, David Arendt wrote: > This weekend I finally had time to try btrfs send again on the newly > created fs. Now I am running into another problem: > > btrfs send returns: ERROR: send ioctl failed with -12: Cannot allocate > memory > > In dmesg I see only the following

Re: 3.17.0-rc7: kernel BUG at fs/btrfs/relocation.c:931!

2014-10-13 Thread Rich Freeman
On Thu, Oct 2, 2014 at 3:27 AM, Tomasz Chmielewski wrote: > Got this when running balance with 3.17.0-rc7: > > [173475.410717] kernel BUG at fs/btrfs/relocation.c:931! I just started a post on another thread with this exact same issue on 3.17.0. I started a balance after adding a new drive. [453

Re: btrfs balance segfault, kernel BUG at fs/btrfs/extent-tree.c:7727

2014-10-13 Thread Rich Freeman
On Thu, Oct 9, 2014 at 10:19 AM, Petr Janecek wrote: > > I have trouble finishing btrfs balance on five disk raid10 fs. > I added a disk to 4x3TB raid10 fs and run "btrfs balance start > /mnt/b3", which segfaulted after few hours, probably because of the BUG > below. "btrfs check" does not find

Re: What is the vision for btrfs fs repair?

2014-10-13 Thread Rich Freeman
On Sun, Oct 12, 2014 at 6:14 AM, Martin Steigerwald wrote: > Am Freitag, 10. Oktober 2014, 10:37:44 schrieb Chris Murphy: >> On Oct 10, 2014, at 6:53 AM, Bob Marley wrote: >> > On 10/10/2014 03:58, Chris Murphy wrote: >> >>> * mount -o recovery >> >>> >> >>> "Enable autorecovery attempts if a b

Re: 3.16 Managed to ENOSPC with <80% used

2014-09-26 Thread Rich Freeman
On Thu, Sep 25, 2014 at 5:21 PM, Holger Hoffstätte wrote: > That's why I mentioned adding a second device - that will immediately > allow cleanup with headroom. An additional 8GB tmpfs volume can works > wonders. > If you add a single 8GB tmpfs to a RAID1 btrfs array, is it safe to assume that yo

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Rich Freeman
On Wed, Sep 10, 2014 at 9:06 AM, Austin S Hemmelgarn wrote: > Normally, you shouldn't need to run balance at all on most BTRFS > filesystems, unless your usage patterns vary widely over time (I'm > actually a good example of this, most of the files in my home directory > are relatively small, exce

Re: Significance of high number of mails on this list?

2014-08-22 Thread Rich Freeman
On Fri, Aug 22, 2014 at 3:35 AM, Duncan <1i5t5.dun...@cox.net> wrote: > > No claim to be a dev, btrfs or otherwise, here, but I believe in this > case you /are/ "being too paranoid." > > Both btrfs send and receive only deal with data/metadata they know how to > deal with. If it's corrupt in some

Re: Distro vs latest kernel for BTRFS?

2014-08-22 Thread Rich Freeman
On Fri, Aug 22, 2014 at 8:04 AM, Austin S Hemmelgarn wrote: >> > I personally use Gentoo Unstable on all my systems, so I build all my > kernels locally anyway, and stay pretty much in-line with the current > stable Mainline kernel. "Gentoo Unstable" probably means gentoo-sources, testing version

Re: [PATCH] Btrfs: fix task hang under heavy compressed write

2014-08-13 Thread Rich Freeman
On Wed, Aug 13, 2014 at 7:54 AM, Martin Steigerwald wrote: > Am Dienstag, 12. August 2014, 15:44:59 schrieb Liu Bo: >> This has been reported and discussed for a long time, and this hang occurs >> in both 3.15 and 3.16. > > Liu, is this safe for testing yet? > I'm more than happy to test this an

Re: Blocked tasks on 3.15.1

2014-07-22 Thread Rich Freeman
On Tue, Jul 22, 2014 at 10:53 AM, Chris Mason wrote: > > Thanks for the help in tracking this down everyone. We'll get there! > Are you all running multi-disk systems (from a btrfs POV, more than one > device?) I don't care how many physical drives this maps to, just does > btrfs think there's m

Re: Blocked tasks on 3.15.1

2014-06-29 Thread Rich Freeman
On Fri, Jun 27, 2014 at 8:22 PM, Chris Samuel wrote: > On Fri, 27 Jun 2014 05:20:41 PM Duncan wrote: > >> If I'm not mistaken the fix for the 3.16 series bug was: >> >> ea4ebde02e08558b020c4b61bb9a4c0fcf63028e >> >> Btrfs: fix deadlocks with trylock on tree nodes. > > That patch applies cleanly to

Re: Blocked tasks on 3.15.1

2014-06-27 Thread Rich Freeman
On Fri, Jun 27, 2014 at 11:52 AM, Chris Murphy wrote: > On Jun 27, 2014, at 9:14 AM, Rich Freeman wrote: > >> >> I got another block this morning and failed to capture a log before my >> terminals gave out. I switched back to 3.15.0 for the moment, and >> we&#

Re: Blocked tasks on 3.15.1

2014-06-27 Thread Rich Freeman
On Fri, Jun 27, 2014 at 9:06 AM, Duncan <1i5t5.dun...@cox.net> wrote: > Hopefully that problem's fixed on 3.16-rc2+, but as of yet there's not > enough 3.16-rc2+ reports out there from folks experiencing issues with > 3.15 blocked tasks to rightfully say. Any chance that it was backported to 3.15.

Blocked tasks on 3.15.1

2014-06-26 Thread Rich Freeman
I've been getting blocked tasks on 3.15.1 generally at times when the filesystem is somewhat busy (such as doing a backup via scp/clonezilla writing to the disk). A week ago I had enabled snapper for a day which resulted in a daily cleanup of about 8 snapshots at once, which might have contributed

Re: [PATCH] Btrfs: fix deadlock with nested trans handles

2014-03-20 Thread Rich Freeman
On Sat, Mar 15, 2014 at 7:51 AM, Duncan <1i5t5.dun...@cox.net> wrote: > 1) Does running the snapper cleanup command from that cron job manually > trigger the problem as well? As you can imagine I'm not too keen to trigger this often. But yes, I just gave it a shot on my SSD and cleaning a few day

Re: [PATCH] Btrfs: fix deadlock with nested trans handles

2014-03-14 Thread Rich Freeman
On Wed, Mar 12, 2014 at 12:34 PM, Rich Freeman wrote: > On Wed, Mar 12, 2014 at 11:24 AM, Josef Bacik wrote: >> On 03/12/2014 08:56 AM, Rich Freeman wrote: >>> >>> After a number of reboots the system became stable, presumably >>> whatever race condition bt

Re: [PATCH] Btrfs: fix deadlock with nested trans handles

2014-03-12 Thread Rich Freeman
On Wed, Mar 12, 2014 at 11:24 AM, Josef Bacik wrote: > On 03/12/2014 08:56 AM, Rich Freeman wrote: >> >> After a number of reboots the system became stable, presumably >> whatever race condition btrfs was hitting followed a favorable >> path. >> >> I

Re: [PATCH] Btrfs: fix deadlock with nested trans handles

2014-03-12 Thread Rich Freeman
On Thu, Mar 6, 2014 at 7:25 PM, Zach Brown wrote: > On Thu, Mar 06, 2014 at 07:01:07PM -0500, Josef Bacik wrote: >> Zach found this deadlock that would happen like this >> > > And this fixes it. It's run through a few times successfully. I'm not sure if my issue is related to this or not - happy