linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS hang with 3.16-rc5
Date: Tue, 15 Jul 2014 02:45:22 +0000 (UTC)	[thread overview]
Message-ID: <pan$6de62$702a648$a15ab320$d959ae3d@cox.net> (raw)
In-Reply-To: 2200430.lB6XKANyxs@merkaba

Martin Steigerwald posted on Tue, 15 Jul 2014 00:03:21 +0200 as excerpted:

> Am Montag, 14. Juli 2014, 17:51:37 schrieben Sie:
>> Martin Steigerwald posted on Mon, 14 Jul 2014 17:10:30 +0200 as
>> excerpted:
>> > Am Montag, 14. Juli 2014, 17:04:22 schrieben Sie:
>> >> 
>> >> While with 3.16-rc3 and rc4 I didn´t have a BTRFS hang in several
>> >> days of usage, with 3-16-rc5 I had a hang again. Less than a hour
>> >> since booting it.
>> > 
>> > Probably good to add some basic information on the filesystem: [...]
>> > 
>> > I think I switched it to skinny extents, but I am not completely
>> > sure.

BTW, when I mount a btrfs with skinny extents, the kernel log says so.  I 
don't know if it has done that since skinny extents were introduced, but 
it certainly is now, and I think it did with 3.15 as well.

So if you look at dmesg after mount, it should say so if you have skinny 
extents.  Otherwise you don't (unless there's some sort of bug).

>> > Dual SSD BTRFS RAID 1
>> > 
>> > No snapshots at the moment. And plenty of space free.
>> 
>> FWIW, I've been updating every few days, running two different
>> snapshots between 3.16-rc4 and rc5, and now rc5 itself, and haven't
>> noticed this issue.  Dual SSDs btrfs raid1, but partitioned up so the
>> biggest partition is under 50 GB.
>> 
>> I've been doing some very heavy (gentoo) package building and shuffling
>> around the last few days trying out the kde-frameworks/workspaces-5
>> stuff, then deciding it's not yet ready for me, too, so I've been
>> working it a bit, too. I did have some nasty trouble a few weeks ago,
>> which triggered a btrfs restore and then a mkfs on a couple of the
>> filesystems.  But nothing at all strange with btrfs since then, or
>> really, for awhile before that either.
> 
> Do you have compression enabled?
> 
> I have:
> 
> /dev/mapper/msata-home /home btrfs
> rw,noatime,compress=lzo,ssd,space_cache 0 0

Yes.

But I am *NOT* doing anything with device-mapper.  I don't have it turned 
on in my kernel, either.

Also, I do run autodefrag too, so nothing should get seriously 
fragmented.  (Fragmentation isn't the big deal on SSD that it is on 
spinning rust, but I still don't want it, and I don't have any of the gig-
sized internal-write-pattern files to worry about on the SSDs, so...)

No snapshots for either of us, and I don't run quotas either.  I'm 
running skinny-metadata, 16-KiB nodes, extref (64 Ki hardlinks, default), 
and no-holes, features.  I do fresh mkfs-and-restores every few months to 
get the latest features and minimize the chance of any lingering effects 
from now-fixed bugs.

I don't particularly trust devmapper, particularly with something not 
entirely stable such as btrfs on top, so naturally that's what I'd 
suspect.  The relatively small filesystems might help, too, and I believe 
lack of quotas and snapshotting lowers the stress on the filesystem too, 
as does the fact that I don't have any of those big internal-write-
pattern files to worry about.  The combination of all of them may have a 
lot to do with my relative lack of problems compared to some of the other 
regulars.  The couple bad umounts and subsequent refusal to mounts 
necessitating a btrfs restore of two filesystems some weeks ago was the 
first actual experience with troubleshooting I had with btrfs; well, 
since I took it off the bad caps-mobo about 2.5 years ago and didn't try 
btrfs again until the SSDs I guess a year and a half ago, anyway.


-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2014-07-15  2:45 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 15:04 BTRFS hang with 3.16-rc5 Martin Steigerwald
2014-07-14 15:10 ` Martin Steigerwald
2014-07-14 17:51   ` Duncan
2014-07-14 22:03     ` Martin Steigerwald
2014-07-15  2:45       ` Duncan [this message]
2014-07-14 20:12   ` Chris Mason
2014-07-14 21:58     ` Martin Steigerwald
2014-07-15 13:21       ` Chris Mason
2014-07-15 15:08         ` Martin Steigerwald
2014-07-23 22:47           ` BTRFS hang with 3.16-rc5 (and also with 3.16-rc4) Martin Steigerwald
2014-07-24 14:58             ` Chris Mason
2014-07-24 16:24               ` Martin Steigerwald
2014-07-24 18:49               ` Martin Steigerwald
2014-07-24 20:04                 ` Chris Mason
2014-07-28 22:57                   ` Martin Steigerwald
2014-07-25  2:32                 ` Duncan
2014-07-25  3:06                   ` Nick Krause
     [not found]                     ` <20140725080244.GA31950@carfax.org.uk>
2014-07-25  9:13                       ` Hugo Mills
2014-07-28 13:20                         ` David Sterba
2014-07-25 10:07                   ` Martin Steigerwald
2014-07-25  4:51               ` Torbjørn
     [not found]                 ` <20140725092800.GC25859@localhost.localdomain>
2014-07-25 10:22                   ` Torbjørn
     [not found]                     ` <53D23AF1.9010704@skagestad.org>
2014-07-25 11:37                       ` Torbjørn
2014-07-25 16:14                         ` Torbjørn
2014-07-28 10:00                         ` Liu Bo
2014-07-28 11:11                           ` Torbjørn
2014-07-29 10:18                             ` Liu Bo
2014-07-29 15:07                               ` Torbjørn
2014-07-30  5:09                                 ` Liu Bo
2014-07-18  7:51         ` BTRFS hang with 3.16-rc5 Martin Steigerwald
2014-07-18 13:36           ` Chris Mason
2014-07-19 17:59             ` Martin Steigerwald
2014-07-19 18:39               ` Chris Mason
2014-07-19 19:00                 ` Martin Steigerwald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pan$6de62$702a648$a15ab320$d959ae3d@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).