Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Martin Steigerwald <martin@lichtvoll.de>
To: Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
Cc: linux-btrfs@vger.kernel.org,
	Timothy Pearson <tpearson@raptorengineering.com>
Subject: Re: data rolled back 5 hours after crash, long fsync running times, watchdog evasion on 5.4.11
Date: Sun, 09 Feb 2020 10:00:34 +0100	[thread overview]
Message-ID: <2202848.tjv8jjdcNr@merkaba> (raw)
In-Reply-To: <20200209004307.GG13306@hungrycats.org>

Zygo Blaxell - 09.02.20, 01:43:07 CET:
> Up to that point, a few processes have been blocked for up to 5 hours,
> but this is not unusual on a big filesystem given #1.  Usually
> processes that read the filesystem (e.g. calling lstat) are not
> blocked, unless they try to access a directory being modified by a
> process that is blocked. lstat() being blocked is unusual.

This is really funny, cause what you consider not being unusual, I'd 
consider a bug or at least a huge limitation.

But in a sense I never really got that processed can be stuck in 
uninterruptible sleep on Linux or Unix *at all*. Such a situation 
without giving a user at least the ability to end it by saying "I don't 
care about the data that process is to write, let me remove it already" 
for me is a major limitation to what appears to be kind of specific to 
the UNIX architecture or at least the way the Linux virtual memory 
manager is working.

That written I may be completely ignorant of something very important 
here and some may tell me it can't be any other way for this and that 
reason. Currently I still think it can.

And even if uninterruptible sleep can still happen cause it is really 
necessary, five hours is at least about five hours minus probably a minute 
or so too long.

Ciao,
-- 
Martin



  reply	other threads:[~2020-02-09  9:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-09  0:43 data rolled back 5 hours after crash, long fsync running times, watchdog evasion on 5.4.11 Zygo Blaxell
2020-02-09  9:00 ` Martin Steigerwald [this message]
2020-02-10  4:10   ` Zygo Blaxell
2020-02-09 17:08 ` Martin Raiber
2020-02-09 23:11   ` Timothy Pearson
2020-02-10  4:27     ` Zygo Blaxell
2020-02-10  5:18       ` Timothy Pearson
2020-02-10  5:20   ` Zygo Blaxell
2020-02-10  1:49 ` Chris Murphy
2020-02-10  5:18   ` Zygo Blaxell
2020-02-10  7:52     ` Chris Murphy

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=2202848.tjv8jjdcNr@merkaba \
    --to=martin@lichtvoll.de \
    --cc=ce3g8jdj@umail.furryterror.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=tpearson@raptorengineering.com \
    /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