linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Foster <bfoster@redhat.com>
To: linux-xfs@vger.kernel.org
Subject: [PATCH 0/2] xfs: quotaoff shutdown fixes
Date: Mon, 16 Mar 2020 13:00:30 -0400	[thread overview]
Message-ID: <20200316170032.19552-1-bfoster@redhat.com> (raw)

Hi all,

This fixes a couple issues I noticed with quotaoff when working on the
auto relog stuff. Patch 1 creates a helper and patch 2 uses it to
address a shutdown hang and memory leak. Thoughts, reviews, flames
appreciated.

Brian

Brian Foster (2):
  xfs: factor out quotaoff intent AIL removal and memory free
  xfs: fix unmount hang and memory leak on shutdown during quotaoff

 fs/xfs/xfs_dquot_item.c  | 44 ++++++++++++++++++++++++++++++++--------
 fs/xfs/xfs_dquot_item.h  |  1 +
 fs/xfs/xfs_qm_syscalls.c | 13 ++++++------
 3 files changed, 43 insertions(+), 15 deletions(-)

-- 
2.21.1


             reply	other threads:[~2020-03-16 17:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16 17:00 Brian Foster [this message]
2020-03-16 17:00 ` [PATCH 1/2] xfs: factor out quotaoff intent AIL removal and memory free Brian Foster
2020-03-16 21:27   ` Darrick J. Wong
2020-03-17 18:36   ` Christoph Hellwig
2020-03-16 17:00 ` [PATCH 2/2] xfs: fix unmount hang and memory leak on shutdown during quotaoff Brian Foster
2020-03-16 21:32   ` Darrick J. Wong
2020-03-17 11:40     ` Brian Foster
2020-03-17 14:46       ` Darrick J. Wong
2020-03-17 14:56         ` Brian Foster
2020-03-17 18:43   ` Christoph Hellwig

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=20200316170032.19552-1-bfoster@redhat.com \
    --to=bfoster@redhat.com \
    --cc=linux-xfs@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).