cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2 PATCH v3 00/19] gfs2: misc recovery patch collection
Date: Wed, 1 May 2019 01:10:00 +0100	[thread overview]
Message-ID: <4f2ce7cb-85ec-acd8-4b00-32e7ee4bc7fc@redhat.com> (raw)
In-Reply-To: <20190430230319.10375-1-rpeterso@redhat.com>

Hi,

On 01/05/2019 00:03, Bob Peterson wrote:
> Here is version 3 of the patch set I posted on 23 April. It is revised
> based on bugs I found testing with xfstests.
>
> This is a collection of patches I've been using to address the myriad
> of recovery problems I've found. I'm still finding them, so the battle
> is not won yet. I'm not convinced we need all of these but I thought
> I'd send them anyway and get feedback. Previously I sent out a version
> of the patch "gfs2: Force withdraw to replay journals and wait for it
> to finish" that was too big and complex. So I broke it up into four
> patches, starting with "move check_journal_clean to util.c for future
> use". So those four need to be a set. There aren't many other dependencies
> between patches, so the others could probably be taken or rejected
> individually. There are more patches I still need to perfect, but maybe
> a few of the safer ones can be pushed to for-next.

There is quite a lot of good stuff here, but it would be good to split 
it up and make it clearer what is bug fixes, and what are new features,

Steve.


> Bob Peterson (19):
>    gfs2: kthread and remount improvements
>    gfs2: eliminate tr_num_revoke_rm
>    gfs2: log which portion of the journal is replayed
>    gfs2: Warn when a journal replay overwrites a rgrp with buffers
>    gfs2: Introduce concept of a pending withdraw
>    gfs2: log error reform
>    gfs2: Only complain the first time an io error occurs in quota or log
>    gfs2: Stop ail1 wait loop when withdrawn
>    gfs2: Ignore recovery attempts if gfs2 has io error or is withdrawn
>    gfs2: move check_journal_clean to util.c for future use
>    gfs2: Allow some glocks to be used during withdraw
>    gfs2: Don't loop forever in gfs2_freeze if withdrawn
>    gfs2: Make secondary withdrawers wait for first withdrawer
>    gfs2: Don't write log headers after file system withdraw
>    gfs2: Force withdraw to replay journals and wait for it to finish
>    gfs2: simply gfs2_freeze by removing case
>    gfs2: Add verbose option to check_journal_clean
>    gfs2: Check for log write errors before telling dlm to unlock
>    gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
>
>   fs/gfs2/aops.c       |   4 +-
>   fs/gfs2/file.c       |   2 +-
>   fs/gfs2/glock.c      |  82 +++++++++++++++--
>   fs/gfs2/glock.h      |   1 +
>   fs/gfs2/glops.c      | 100 +++++++++++++++++++--
>   fs/gfs2/glops.h      |   3 +-
>   fs/gfs2/incore.h     |  21 ++++-
>   fs/gfs2/inode.c      |  14 ++-
>   fs/gfs2/lock_dlm.c   |  50 +++++++++++
>   fs/gfs2/log.c        |  55 +++++++-----
>   fs/gfs2/log.h        |   1 +
>   fs/gfs2/lops.c       |  27 +++++-
>   fs/gfs2/meta_io.c    |   6 +-
>   fs/gfs2/ops_fstype.c |  65 ++++----------
>   fs/gfs2/quota.c      |  10 ++-
>   fs/gfs2/recovery.c   |   3 +-
>   fs/gfs2/super.c      |  88 +++++++++++-------
>   fs/gfs2/super.h      |   1 +
>   fs/gfs2/sys.c        |  14 ++-
>   fs/gfs2/trans.c      |   6 +-
>   fs/gfs2/util.c       | 206 ++++++++++++++++++++++++++++++++++++++++---
>   fs/gfs2/util.h       |  15 ++++
>   22 files changed, 617 insertions(+), 157 deletions(-)
>



      parent reply	other threads:[~2019-05-01  0:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 23:03 [Cluster-devel] [GFS2 PATCH v3 00/19] gfs2: misc recovery patch collection Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 01/19] gfs2: kthread and remount improvements Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 02/19] gfs2: eliminate tr_num_revoke_rm Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 03/19] gfs2: log which portion of the journal is replayed Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 04/19] gfs2: Warn when a journal replay overwrites a rgrp with buffers Bob Peterson
2019-05-07 14:26   ` Andreas Gruenbacher
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 05/19] gfs2: Introduce concept of a pending withdraw Bob Peterson
2019-05-07 14:36   ` Andreas Gruenbacher
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 06/19] gfs2: log error reform Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 07/19] gfs2: Only complain the first time an io error occurs in quota or log Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 08/19] gfs2: Stop ail1 wait loop when withdrawn Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 09/19] gfs2: Ignore recovery attempts if gfs2 has io error or is withdrawn Bob Peterson
2019-05-01  0:08   ` Steven Whitehouse
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 10/19] gfs2: move check_journal_clean to util.c for future use Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 11/19] gfs2: Allow some glocks to be used during withdraw Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 12/19] gfs2: Don't loop forever in gfs2_freeze if withdrawn Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 13/19] gfs2: Make secondary withdrawers wait for first withdrawer Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 14/19] gfs2: Don't write log headers after file system withdraw Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 15/19] gfs2: Force withdraw to replay journals and wait for it to finish Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 16/19] gfs2: simply gfs2_freeze by removing case Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 17/19] gfs2: Add verbose option to check_journal_clean Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 18/19] gfs2: Check for log write errors before telling dlm to unlock Bob Peterson
2019-04-30 23:03 ` [Cluster-devel] [GFS2 PATCH v3 19/19] gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty Bob Peterson
2019-05-01  0:10 ` Steven Whitehouse [this message]

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=4f2ce7cb-85ec-acd8-4b00-32e7ee4bc7fc@redhat.com \
    --to=swhiteho@redhat.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;
as well as URLs for NNTP newsgroup(s).