linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: gius db <giusdbg@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Fwd: [COMMAND HANGS] The command 'btrfs subvolume sync -s 2 xyz' can hangs.
Date: Mon, 7 Jan 2019 21:31:16 +0800	[thread overview]
Message-ID: <5badae31-10cd-cb28-4808-8b8b56c1d444@gmx.com> (raw)
In-Reply-To: <CAO6aweNy006hbwEVCuoQ_cSRKP-QRX2UWji6D-E8gkxH8tbm7w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1724 bytes --]



On 2019/1/7 下午8:55, gius db wrote:
> Il giorno lun 7 gen 2019 alle ore 00:56 Qu Wenruo
> <quwenruo.btrfs@gmx.com> ha scritto:
> ]zac[
>>> I am quite convinced that it happens during the snapshot delete and the
>>> subsequent cleanup.
>>> And maybe even the umount is part of the problem.
>>
>> No, I mean the corruption which finally results the hang was there for a
>> long time.
>>
>> It's relatively common that extent tree get corrupted before and some
>> unfortunately operation touching the corrupted extent tree triggered
>> some user affecting error.
> 
> Yes, I understand, but the use of filesytem is very specific.
> 
> This filesystem and others that have had problems with corruption, are
> used only as backups.
> So the only operations that are performed are snapshot receive,
> snapshot create, snapshot delete.
> After the operations are finished, the filesystem is unmounted.
> 
> It may just be a coincidence, but the problems of corruptions have
> occurred very often after a snapshoot delete.

I think this should give us a pretty good clue.

Specific workload, less active usage, and normally no concurrency.

And for the backup usage, you're using relatively new kernel only, right?

Then this should be something taking into consideration for stress test.

Thanks,
Qu

> 
> The other filesystems that are used in a generic way (operating
> system, warehouse and data processing, snapshot creating etc.), have
> never given problems.
> 
> ]zac[
>>>
>>> btrfs check reported various corruptions and fixed them.
>>
>> Please paste the output if possible.
> ]zac[
> 
> Sorry, I didn't think to save the btrfs check messages.
> 
> 
> Gdb
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-01-07 13:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 15:15 [COMMAND HANGS] The command 'btrfs subvolume sync -s 2 xyz' can hangs Giuseppe Della Bianca
2018-08-09 18:48 ` Jeff Mahoney
2018-08-10 16:57   ` Giuseppe Della Bianca
2019-01-01 16:37   ` Giuseppe Della Bianca
2019-01-04 20:34     ` Jeff Mahoney
2019-01-05 12:30       ` Giuseppe Della Bianca
2019-01-06 14:12         ` Qu Wenruo
2019-01-06 17:57           ` Giuseppe Della Bianca
2019-01-06 23:55             ` Qu Wenruo
     [not found]               ` <CAO6awePqby834dBSgLx5r6onmD9HhGWAfN4bno0zK6pU0QjrEQ@mail.gmail.com>
2019-01-07 12:55                 ` Fwd: " gius db
2019-01-07 13:31                   ` Qu Wenruo [this message]
     [not found]                     ` <CAO6aweMu9HUn34406Kkh-UvoDyoJH2ZdGUQx3vdx1Rj955E4KQ@mail.gmail.com>
2019-01-07 17:53                       ` Fwd: " gius db
2019-01-07 22:40         ` Jeff Mahoney
2019-01-08 21:02           ` Giuseppe Della Bianca
2019-01-08 21:18             ` Jeff Mahoney
2019-01-08 21:55               ` Giuseppe Della Bianca
2019-01-07 23:11     ` Filipe Manana
2019-01-08 12:14       ` gius db
2019-01-08 12:29         ` Filipe Manana
2019-01-08 13:01           ` gius db

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=5badae31-10cd-cb28-4808-8b8b56c1d444@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=giusdbg@gmail.com \
    --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).