public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Wareing <rwareing@fb.com>
To: linux-xfs@vger.kernel.org
Cc: david@fromorbit.com, darrick.wong@oracle.com, hch@infradead.org
Subject: [PATCH v5 0/3] XFS realtime device tweaks
Date: Mon, 25 Sep 2017 12:44:15 -0700	[thread overview]
Message-ID: <20170925194418.720146-1-rwareing@fb.com> (raw)

The patch set has been updated per reviewer suggestions, all changes are
noted in the change log for each patch.  The most notable change is the
addition of xfs_inode_select_target and the refactoring which took place
as a result of this.

This cleaned things up as the policy code could be contained in this function
nicely.  I still kept the two functions for the alloc_min and fallback_pct
tunables in their own functions, as I didn't want to clutter up this function
with the policy logic (however little).

Patch set based off Linux 4.12 (commit
6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c) located @
https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git; I also have a clean
patch set for Linus' tree (@ 4.14-rc2) if that's preferred.

Richard Wareing (3):
  xfs: Show realtime device stats on statfs calls if inherit flag set
  xfs: Set realtime flag based on initial allocation size
  xfs: Add realtime fallback if data device full

 fs/xfs/xfs_bmap_util.c |  2 ++
 fs/xfs/xfs_fsops.c     |  2 ++
 fs/xfs/xfs_inode.c     | 18 +++++++----
 fs/xfs/xfs_iomap.c     |  5 +++
 fs/xfs/xfs_linux.h     |  2 ++
 fs/xfs/xfs_mount.c     | 24 +++++++++++++++
 fs/xfs/xfs_mount.h     |  9 ++++++
 fs/xfs/xfs_rtalloc.c   | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_rtalloc.h   |  2 ++
 fs/xfs/xfs_super.c     |  8 +++++
 fs/xfs/xfs_sysfs.c     | 76 ++++++++++++++++++++++++++++++++++++++++++++++
 11 files changed, 224 insertions(+), 6 deletions(-)

-- 
2.9.5


             reply	other threads:[~2017-09-25 19:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 19:44 Richard Wareing [this message]
2017-09-25 19:44 ` [PATCH v5 1/3] xfs: Show realtime device stats on statfs calls if inherit flag set Richard Wareing
2017-09-25 22:53   ` Eric Sandeen
2017-09-26  3:32     ` Richard Wareing
2017-09-25 22:55   ` Darrick J. Wong
2017-09-25 19:44 ` [PATCH v5 2/3] xfs: Set realtime flag based on initial allocation size Richard Wareing
2017-09-25 22:47   ` Darrick J. Wong
2017-09-26  5:25     ` Dave Chinner
2017-09-26  6:11     ` Richard Wareing
2017-09-26  0:13   ` Eric Sandeen
2017-09-26  5:17     ` Richard Wareing
2017-09-25 19:44 ` [PATCH v5 3/3] xfs: Add realtime fallback if data device full Richard Wareing
2017-09-25 22:52   ` Darrick J. Wong

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=20170925194418.720146-1-rwareing@fb.com \
    --to=rwareing@fb.com \
    --cc=darrick.wong@oracle.com \
    --cc=david@fromorbit.com \
    --cc=hch@infradead.org \
    --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