public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHBOMB 6.12] xfs: metadata directories and realtime groups
@ 2024-08-22 23:52 Darrick J. Wong
  2024-08-22 23:56 ` [PATCHSET v4.0 01/10] xfs: various bug fixes for 6.11 Darrick J. Wong
                   ` (9 more replies)
  0 siblings, 10 replies; 273+ messages in thread
From: Darrick J. Wong @ 2024-08-22 23:52 UTC (permalink / raw)
  To: Christoph Hellwig, Chandan Babu R; +Cc: xfs

Hi everyone,

Christoph and I have been working on getting the long-delayed metadata
directory tree patchset into mergeable shape, and I think we're now
satisfied that we've gotten the code to where we want it for 6.12.

First comes all the accumulated bug fixes for 6.11.  After that is all
the new code:

The metadata directory tree sets us up for much more flexible metadata
within an XFS filesystem.  Instead of rooting inodes in the superblock
which has very limited space, we instead create a directory tree that
can contain arbitrary numbers of metadata files.

Having done that, we can now shard the realtime volume into multiple
allocation groups, much as we do with AGs for the data device.  However,
the realtime volume has a fun twist -- each rtgroup gets its own space
metadata files, and for that we need a metadata directory tree.

Metadata directory trees and realtime groups also enable us to complete
the realtime modernization project, which will add reverse mapping
btrees, reflink, quota support, and zoned storage support for rt
volumes.  The commit-range ioctl is now part of the rt groups patchset,
because that's the only practical way to defragment rt files when the
rt extent size is larger than 1 fsblock and rmap is enabled.  Also,
with Jeff Layton's multigrained ctime work headed for 6.12, we can now
measure file changes in a saner fashion.

Finally, quota inodes now live in the metadata directory tree, which is
a pretty simple conversion.  However, we added yet another new feature,
which is that xfs will now remember the quota accounting and enforcement
state across unmounts.  You can still tweak them via mount options, but
not specifying any is no longer interpreted the same as 'noquota'.

I'm only sending the kernel patches to the list for now, but please have
a look at the git tree links for xfsprogs and fstests changes.

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/log/?h=metadir-quotas_2024-08-22
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=metadir-quotas_2024-08-22
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfstests-dev.git/log/?h=metadir-quotas_2024-08-22

--D

^ permalink raw reply	[flat|nested] 273+ messages in thread
* [PATCHSET v31.1 1/8] xfs: atomic file content commits
@ 2024-09-02 18:21 Darrick J. Wong
  2024-09-02 18:23 ` [PATCH 1/1] xfs: introduce new file range commit ioctls Darrick J. Wong
  0 siblings, 1 reply; 273+ messages in thread
From: Darrick J. Wong @ 2024-09-02 18:21 UTC (permalink / raw)
  To: chandanbabu, djwong
  Cc: Jeff Layton, Christoph Hellwig, linux-fsdevel, linux-xfs

Hi all,

This series creates XFS_IOC_START_COMMIT and XFS_IOC_COMMIT_RANGE ioctls
to perform the exchange only if the target file has not been changed
since a given sampling point.

This new functionality uses the mechanism underlying EXCHANGE_RANGE to
stage and commit file updates such that reader programs will see either
the old contents or the new contents in their entirety, with no chance
of torn writes.  A successful call completion guarantees that the new
contents will be seen even if the system fails.  The pair of ioctls
allows userspace to perform what amounts to a compare and exchange
operation on entire file contents.

Note that there are ongoing arguments in the community about how best to
implement some sort of file data write counter that nfsd could also use
to signal invalidations to clients.  Until such a thing is implemented,
this patch will rely on ctime/mtime updates.

Here are the proposed manual pages:

IOCTL-XFS-COMMIT-RANGE(2) System Calls ManualIOCTL-XFS-COMMIT-RANGE(2)

NAME
       ioctl_xfs_start_commit  -  prepare  to exchange the contents of
       two files ioctl_xfs_commit_range - conditionally  exchange  the
       contents of parts of two files

SYNOPSIS
       #include <sys/ioctl.h>
       #include <xfs/xfs_fs.h>

       int  ioctl(int  file2_fd, XFS_IOC_START_COMMIT, struct xfs_com‐
       mit_range *arg);

       int ioctl(int file2_fd, XFS_IOC_COMMIT_RANGE,  struct  xfs_com‐
       mit_range *arg);

DESCRIPTION
       Given  a  range  of bytes in a first file file1_fd and a second
       range of bytes in a second file  file2_fd,  this  ioctl(2)  ex‐
       changes  the contents of the two ranges if file2_fd passes cer‐
       tain freshness criteria.

       Before exchanging the  contents,  the  program  must  call  the
       XFS_IOC_START_COMMIT   ioctl   to  sample  freshness  data  for
       file2_fd.  If the sampled metadata  does  not  match  the  file
       metadata  at  commit  time,  XFS_IOC_COMMIT_RANGE  will  return
       EBUSY.

       Exchanges are atomic with regards  to  concurrent  file  opera‐
       tions.   Implementations must guarantee that readers see either
       the old contents or the new contents in their entirety, even if
       the system fails.

       The  system  call  parameters are conveyed in structures of the
       following form:

           struct xfs_commit_range {
               __s32    file1_fd;
               __u32    pad;
               __u64    file1_offset;
               __u64    file2_offset;
               __u64    length;
               __u64    flags;
               __u64    file2_freshness[5];
           };

       The field pad must be zero.

       The fields file1_fd, file1_offset, and length define the  first
       range of bytes to be exchanged.

       The fields file2_fd, file2_offset, and length define the second
       range of bytes to be exchanged.

       The field file2_freshness is an opaque field whose contents are
       determined  by  the  kernel.  These file attributes are used to
       confirm that file2_fd has not changed by another  thread  since
       the current thread began staging its own update.

       Both  files must be from the same filesystem mount.  If the two
       file descriptors represent the same file, the byte ranges  must
       not  overlap.   Most  disk-based  filesystems  require that the
       starts of both ranges must be aligned to the file  block  size.
       If  this  is  the  case, the ends of the ranges must also be so
       aligned unless the XFS_EXCHANGE_RANGE_TO_EOF flag is set.

       The field flags control the behavior of the exchange operation.

           XFS_EXCHANGE_RANGE_TO_EOF
                  Ignore the length parameter.  All bytes in  file1_fd
                  from  file1_offset to EOF are moved to file2_fd, and
                  file2's size is set to  (file2_offset+(file1_length-
                  file1_offset)).   Meanwhile, all bytes in file2 from
                  file2_offset to EOF are moved to file1  and  file1's
                  size    is   set   to   (file1_offset+(file2_length-
                  file2_offset)).

           XFS_EXCHANGE_RANGE_DSYNC
                  Ensure that all modified in-core data in  both  file
                  ranges  and  all  metadata updates pertaining to the
                  exchange operation are flushed to persistent storage
                  before  the  call  returns.  Opening either file de‐
                  scriptor with O_SYNC or O_DSYNC will have  the  same
                  effect.

           XFS_EXCHANGE_RANGE_FILE1_WRITTEN
                  Only  exchange sub-ranges of file1_fd that are known
                  to contain data  written  by  application  software.
                  Each  sub-range  may  be  expanded (both upwards and
                  downwards) to align with the file  allocation  unit.
                  For files on the data device, this is one filesystem
                  block.  For files on the realtime  device,  this  is
                  the realtime extent size.  This facility can be used
                  to implement fast atomic  scatter-gather  writes  of
                  any  complexity for software-defined storage targets
                  if all writes are aligned  to  the  file  allocation
                  unit.

           XFS_EXCHANGE_RANGE_DRY_RUN
                  Check  the parameters and the feasibility of the op‐
                  eration, but do not change anything.

RETURN VALUE
       On error, -1 is returned, and errno is set to indicate the  er‐
       ror.

ERRORS
       Error  codes can be one of, but are not limited to, the follow‐
       ing:

       EBADF  file1_fd is not open for reading and writing or is  open
              for  append-only  writes;  or  file2_fd  is not open for
              reading and writing or is open for append-only writes.

       EBUSY  The file2 inode number and timestamps  supplied  do  not
              match file2_fd.

       EINVAL The  parameters  are  not correct for these files.  This
              error can also appear if either file  descriptor  repre‐
              sents  a device, FIFO, or socket.  Disk filesystems gen‐
              erally require the offset and  length  arguments  to  be
              aligned to the fundamental block sizes of both files.

       EIO    An I/O error occurred.

       EISDIR One of the files is a directory.

       ENOMEM The  kernel  was unable to allocate sufficient memory to
              perform the operation.

       ENOSPC There is not enough free space  in  the  filesystem  ex‐
              change the contents safely.

       EOPNOTSUPP
              The filesystem does not support exchanging bytes between
              the two files.

       EPERM  file1_fd or file2_fd are immutable.

       ETXTBSY
              One of the files is a swap file.

       EUCLEAN
              The filesystem is corrupt.

       EXDEV  file1_fd and  file2_fd  are  not  on  the  same  mounted
              filesystem.

CONFORMING TO
       This API is XFS-specific.

USE CASES
       Several use cases are imagined for this system call.  Coordina‐
       tion between multiple threads is performed by the kernel.

       The first is a filesystem defragmenter, which copies  the  con‐
       tents  of  a  file into another file and wishes to exchange the
       space mappings of the two files,  provided  that  the  original
       file has not changed.

       An example program might look like this:

           int fd = open("/some/file", O_RDWR);
           int temp_fd = open("/some", O_TMPFILE | O_RDWR);
           struct stat sb;
           struct xfs_commit_range args = {
               .flags = XFS_EXCHANGE_RANGE_TO_EOF,
           };

           /* gather file2's freshness information */
           ioctl(fd, XFS_IOC_START_COMMIT, &args);
           fstat(fd, &sb);

           /* make a fresh copy of the file with terrible alignment to avoid reflink */
           clone_file_range(fd, NULL, temp_fd, NULL, 1, 0);
           clone_file_range(fd, NULL, temp_fd, NULL, sb.st_size - 1, 0);

           /* commit the entire update */
           args.file1_fd = temp_fd;
           ret = ioctl(fd, XFS_IOC_COMMIT_RANGE, &args);
           if (ret && errno == EBUSY)
               printf("file changed while defrag was underway
");

       The  second is a data storage program that wants to commit non-
       contiguous updates to a file atomically.  This  program  cannot
       coordinate updates to the file and therefore relies on the ker‐
       nel to reject the COMMIT_RANGE command if the file has been up‐
       dated  by  someone else.  This can be done by creating a tempo‐
       rary file, calling FICLONE(2) to share the contents, and  stag‐
       ing  the  updates into the temporary file.  The FULL_FILES flag
       is recommended for this purpose.  The  temporary  file  can  be
       deleted or punched out afterwards.

       An example program might look like this:

           int fd = open("/some/file", O_RDWR);
           int temp_fd = open("/some", O_TMPFILE | O_RDWR);
           struct xfs_commit_range args = {
               .flags = XFS_EXCHANGE_RANGE_TO_EOF,
           };

           /* gather file2's freshness information */
           ioctl(fd, XFS_IOC_START_COMMIT, &args);

           ioctl(temp_fd, FICLONE, fd);

           /* append 1MB of records */
           lseek(temp_fd, 0, SEEK_END);
           write(temp_fd, data1, 1000000);

           /* update record index */
           pwrite(temp_fd, data1, 600, 98765);
           pwrite(temp_fd, data2, 320, 54321);
           pwrite(temp_fd, data2, 15, 0);

           /* commit the entire update */
           args.file1_fd = temp_fd;
           ret = ioctl(fd, XFS_IOC_COMMIT_RANGE, &args);
           if (ret && errno == EBUSY)
               printf("file changed before commit; will roll back
");

NOTES
       Some  filesystems may limit the amount of data or the number of
       extents that can be exchanged in a single call.

SEE ALSO
       ioctl(2)

XFS                           2024-02-18     IOCTL-XFS-COMMIT-RANGE(2)

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=atomic-file-commits-6.12
---
Commits in this patchset:
 * xfs: introduce new file range commit ioctls
---
 fs/xfs/libxfs/xfs_fs.h |   26 +++++++++
 fs/xfs/xfs_exchrange.c |  143 ++++++++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_exchrange.h |   16 +++++
 fs/xfs/xfs_ioctl.c     |    4 +
 fs/xfs/xfs_trace.h     |   57 +++++++++++++++++++
 5 files changed, 243 insertions(+), 3 deletions(-)


^ permalink raw reply	[flat|nested] 273+ messages in thread

end of thread, other threads:[~2024-10-25 21:23 UTC | newest]

Thread overview: 273+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 23:52 [PATCHBOMB 6.12] xfs: metadata directories and realtime groups Darrick J. Wong
2024-08-22 23:56 ` [PATCHSET v4.0 01/10] xfs: various bug fixes for 6.11 Darrick J. Wong
2024-08-22 23:59   ` [PATCH 1/9] xfs: fix di_onlink checking for V1/V2 inodes Darrick J. Wong
2024-08-22 23:59   ` [PATCH 2/9] xfs: fix folio dirtying for XFILE_ALLOC callers Darrick J. Wong
2024-08-22 23:59   ` [PATCH 3/9] xfs: xfs_finobt_count_blocks() walks the wrong btree Darrick J. Wong
2024-08-22 23:59   ` [PATCH 4/9] xfs: don't bother reporting blocks trimmed via FITRIM Darrick J. Wong
2024-08-23  0:00   ` [PATCH 5/9] xfs: Fix the owner setting issue for rmap query in xfs fsmap Darrick J. Wong
2024-08-23  4:10     ` Christoph Hellwig
2024-08-23  0:00   ` [PATCH 6/9] xfs: use XFS_BUF_DADDR_NULL for daddrs in getfsmap code Darrick J. Wong
2024-08-23  4:10     ` Christoph Hellwig
2024-08-23  0:00   ` [PATCH 7/9] xfs: Fix missing interval for missing_owner in xfs fsmap Darrick J. Wong
2024-08-26  3:58     ` Zizhi Wo
2024-08-23  0:00   ` [PATCH 8/9] xfs: take m_growlock when running growfsrt Darrick J. Wong
2024-08-23  4:08     ` Christoph Hellwig
2024-08-23  0:01   ` [PATCH 9/9] xfs: reset rootdir extent size hint after growfsrt Darrick J. Wong
2024-08-23  4:09     ` Christoph Hellwig
2024-08-23  4:09   ` [PATCHSET v4.0 01/10] xfs: various bug fixes for 6.11 Christoph Hellwig
2024-08-22 23:56 ` [PATCHSET v31.0 02/10] xfs: atomic file content commits Darrick J. Wong
2024-08-23  0:01   ` [PATCH 1/1] xfs: introduce new file range commit ioctls Darrick J. Wong
2024-08-23  4:12     ` Christoph Hellwig
2024-08-23 13:20       ` Jeff Layton
2024-08-23 17:41         ` Darrick J. Wong
2024-08-23 19:15           ` Jeff Layton
2024-08-24  3:29           ` Christoph Hellwig
2024-08-24  4:46             ` Darrick J. Wong
2024-08-24  4:48               ` Christoph Hellwig
2024-08-24  6:29     ` [PATCH v31.0.1 " Darrick J. Wong
2024-08-24 12:11       ` Jeff Layton
2024-08-25  4:52       ` Christoph Hellwig
2024-08-22 23:56 ` [PATCHSET v4.0 03/10] xfs: cleanups before adding metadata directories Darrick J. Wong
2024-08-23  0:01   ` [PATCH 1/3] xfs: validate inumber in xfs_iget Darrick J. Wong
2024-08-23  0:01   ` [PATCH 2/3] xfs: match on the global RT inode numbers in xfs_is_metadata_inode Darrick J. Wong
2024-08-23  0:02   ` [PATCH 3/3] xfs: pass the icreate args object to xfs_dialloc Darrick J. Wong
2024-08-23  4:13     ` Christoph Hellwig
2024-08-22 23:57 ` [PATCHSET v4.0 04/10] xfs: metadata inode directories Darrick J. Wong
2024-08-23  0:02   ` [PATCH 01/26] xfs: define the on-disk format for the metadir feature Darrick J. Wong
2024-08-23  4:30     ` Christoph Hellwig
2024-08-23  0:02   ` [PATCH 02/26] xfs: refactor loading quota inodes in the regular case Darrick J. Wong
2024-08-23  4:31     ` Christoph Hellwig
2024-08-23 17:51       ` Darrick J. Wong
2024-08-23  0:02   ` [PATCH 03/26] xfs: iget for metadata inodes Darrick J. Wong
2024-08-23  4:35     ` Christoph Hellwig
2024-08-23 17:53       ` Darrick J. Wong
2024-08-23  0:03   ` [PATCH 04/26] xfs: load metadata directory root at mount time Darrick J. Wong
2024-08-23  4:35     ` Christoph Hellwig
2024-08-23  0:03   ` [PATCH 05/26] xfs: enforce metadata inode flag Darrick J. Wong
2024-08-23  4:38     ` Christoph Hellwig
2024-08-23 17:55       ` Darrick J. Wong
2024-08-23  0:03   ` [PATCH 06/26] xfs: read and write metadata inode directory tree Darrick J. Wong
2024-08-23  4:39     ` Christoph Hellwig
2024-08-23  0:03   ` [PATCH 07/26] xfs: disable the agi rotor for metadata inodes Darrick J. Wong
2024-08-23  4:39     ` Christoph Hellwig
2024-08-23  0:04   ` [PATCH 08/26] xfs: hide metadata inodes from everyone because they are special Darrick J. Wong
2024-08-23  4:40     ` Christoph Hellwig
2024-08-26  0:41     ` Dave Chinner
2024-08-26 17:33       ` Darrick J. Wong
2024-08-23  0:04   ` [PATCH 09/26] xfs: advertise metadata directory feature Darrick J. Wong
2024-08-23  4:40     ` Christoph Hellwig
2024-08-23  0:04   ` [PATCH 10/26] xfs: allow bulkstat to return metadata directories Darrick J. Wong
2024-08-23  4:41     ` Christoph Hellwig
2024-08-23  0:05   ` [PATCH 11/26] xfs: don't count metadata directory files to quota Darrick J. Wong
2024-08-23  4:42     ` Christoph Hellwig
2024-08-26  0:47     ` Dave Chinner
2024-08-26 17:57       ` Darrick J. Wong
2024-08-23  0:05   ` [PATCH 12/26] xfs: mark quota inodes as metadata files Darrick J. Wong
2024-08-23  4:42     ` Christoph Hellwig
2024-08-23  0:05   ` [PATCH 13/26] xfs: adjust xfs_bmap_add_attrfork for metadir Darrick J. Wong
2024-08-23  4:42     ` Christoph Hellwig
2024-08-23  0:05   ` [PATCH 14/26] xfs: record health problems with the metadata directory Darrick J. Wong
2024-08-23  4:43     ` Christoph Hellwig
2024-08-23  0:06   ` [PATCH 15/26] xfs: refactor directory tree root predicates Darrick J. Wong
2024-08-23  4:48     ` Christoph Hellwig
2024-08-23  0:06   ` [PATCH 16/26] xfs: do not count metadata directory files when doing online quotacheck Darrick J. Wong
2024-08-23  4:48     ` Christoph Hellwig
2024-08-23  0:06   ` [PATCH 17/26] xfs: don't fail repairs on metadata files with no attr fork Darrick J. Wong
2024-08-23  4:49     ` Christoph Hellwig
2024-08-23  0:06   ` [PATCH 18/26] xfs: metadata files can have xattrs if metadir is enabled Darrick J. Wong
2024-08-23  4:50     ` Christoph Hellwig
2024-08-23 18:00       ` Darrick J. Wong
2024-08-23  0:07   ` [PATCH 19/26] xfs: adjust parent pointer scrubber for sb-rooted metadata files Darrick J. Wong
2024-08-23  4:50     ` Christoph Hellwig
2024-08-23  0:07   ` [PATCH 20/26] xfs: fix di_metatype field of inodes that won't load Darrick J. Wong
2024-08-23  4:51     ` Christoph Hellwig
2024-08-23  0:07   ` [PATCH 21/26] xfs: scrub metadata directories Darrick J. Wong
2024-08-23  4:53     ` Christoph Hellwig
2024-08-23  0:07   ` [PATCH 22/26] xfs: check the metadata directory inumber in superblocks Darrick J. Wong
2024-08-23  4:53     ` Christoph Hellwig
2024-08-23  0:08   ` [PATCH 23/26] xfs: move repair temporary files to the metadata directory tree Darrick J. Wong
2024-08-23  4:54     ` Christoph Hellwig
2024-08-23  0:08   ` [PATCH 24/26] xfs: check metadata directory file path connectivity Darrick J. Wong
2024-08-23  4:55     ` Christoph Hellwig
2024-08-23  0:08   ` [PATCH 25/26] xfs: confirm dotdot target before replacing it during a repair Darrick J. Wong
2024-08-23  4:55     ` Christoph Hellwig
2024-08-23  0:08   ` [PATCH 26/26] xfs: repair metadata directory file path connectivity Darrick J. Wong
2024-08-23  4:56     ` Christoph Hellwig
2024-08-22 23:57 ` [PATCHSET v4.0 05/10] xfs: clean up the rtbitmap code Darrick J. Wong
2024-08-23  0:09   ` [PATCH 01/12] xfs: remove xfs_validate_rtextents Darrick J. Wong
2024-08-23  0:09   ` [PATCH 02/12] xfs: factor out a xfs_validate_rt_geometry helper Darrick J. Wong
2024-08-23  0:09   ` [PATCH 03/12] xfs: make the RT rsum_cache mandatory Darrick J. Wong
2024-08-23  0:09   ` [PATCH 04/12] xfs: remove the limit argument to xfs_rtfind_back Darrick J. Wong
2024-08-23  0:10   ` [PATCH 05/12] xfs: assert a valid limit in xfs_rtfind_forw Darrick J. Wong
2024-08-23  0:10   ` [PATCH 06/12] xfs: add bounds checking to xfs_rt{bitmap,summary}_read_buf Darrick J. Wong
2024-08-23  0:10   ` [PATCH 07/12] xfs: cleanup the calling convention for xfs_rtpick_extent Darrick J. Wong
2024-08-23  0:11   ` [PATCH 08/12] xfs: push the calls to xfs_rtallocate_range out to xfs_bmap_rtalloc Darrick J. Wong
2024-08-23  0:11   ` [PATCH 09/12] xfs: factor out a xfs_growfs_rt_bmblock helper Darrick J. Wong
2024-08-23  0:11   ` [PATCH 10/12] xfs: factor out a xfs_last_rt_bmblock helper Darrick J. Wong
2024-08-23  0:11   ` [PATCH 11/12] xfs: factor out rtbitmap/summary initialization helpers Darrick J. Wong
2024-08-23  0:12   ` [PATCH 12/12] xfs: push transaction join out of xfs_rtbitmap_lock and xfs_rtgroup_lock Darrick J. Wong
2024-08-22 23:57 ` [PATCHSET v4.0 06/10] xfs: fixes and cleanups for the realtime allocator Darrick J. Wong
2024-08-23  0:12   ` [PATCH 01/10] xfs: use the recalculated transaction reservation in xfs_growfs_rt_bmblock Darrick J. Wong
2024-08-23  0:12   ` [PATCH 02/10] xfs: ensure rtx mask/shift are correct after growfs Darrick J. Wong
2024-08-23  0:12   ` [PATCH 03/10] xfs: don't return too-short extents from xfs_rtallocate_extent_block Darrick J. Wong
2024-08-23  4:57     ` Christoph Hellwig
2024-08-23  0:13   ` [PATCH 04/10] xfs: don't scan off the end of the rt volume in xfs_rtallocate_extent_block Darrick J. Wong
2024-08-23  4:57     ` Christoph Hellwig
2024-08-23  0:13   ` [PATCH 05/10] xfs: refactor aligning bestlen to prod Darrick J. Wong
2024-08-23  4:58     ` Christoph Hellwig
2024-08-23  0:13   ` [PATCH 06/10] xfs: clean up xfs_rtallocate_extent_exact a bit Darrick J. Wong
2024-08-23  4:58     ` Christoph Hellwig
2024-08-23  0:13   ` [PATCH 07/10] xfs: reduce excessive clamping of maxlen in xfs_rtallocate_extent_near Darrick J. Wong
2024-08-23  4:59     ` Christoph Hellwig
2024-08-23  0:14   ` [PATCH 08/10] xfs: fix broken variable-sized allocation detection in xfs_rtallocate_extent_block Darrick J. Wong
2024-08-23  4:59     ` Christoph Hellwig
2024-08-23  0:14   ` [PATCH 09/10] xfs: remove xfs_rtb_to_rtxrem Darrick J. Wong
2024-08-23  0:14   ` [PATCH 10/10] xfs: simplify xfs_rtalloc_query_range Darrick J. Wong
2024-08-22 23:57 ` [PATCHSET v4.0 07/10] xfs: create incore rt allocation groups Darrick J. Wong
2024-08-23  0:14   ` [PATCH 01/24] xfs: clean up the ISVALID macro in xfs_bmap_adjacent Darrick J. Wong
2024-08-23  0:15   ` [PATCH 02/24] xfs: factor out a xfs_rtallocate helper Darrick J. Wong
2024-08-23  0:15   ` [PATCH 03/24] xfs: rework the rtalloc fallback handling Darrick J. Wong
2024-08-23  0:15   ` [PATCH 04/24] xfs: factor out a xfs_rtallocate_align helper Darrick J. Wong
2024-08-23  0:15   ` [PATCH 05/24] xfs: make the rtalloc start hint a xfs_rtblock_t Darrick J. Wong
2024-08-23  0:16   ` [PATCH 06/24] xfs: add xchk_setup_nothing and xchk_nothing helpers Darrick J. Wong
2024-08-23  5:00     ` Christoph Hellwig
2024-08-23  0:16   ` [PATCH 07/24] xfs: remove xfs_{rtbitmap,rtsummary}_wordcount Darrick J. Wong
2024-08-23  0:16   ` [PATCH 08/24] xfs: replace m_rsumsize with m_rsumblocks Darrick J. Wong
2024-08-23  0:17   ` [PATCH 09/24] xfs: rearrange xfs_fsmap.c a little bit Darrick J. Wong
2024-08-23  5:01     ` Christoph Hellwig
2024-08-23  0:17   ` [PATCH 10/24] xfs: move xfs_ioc_getfsmap out of xfs_ioctl.c Darrick J. Wong
2024-08-23  5:01     ` Christoph Hellwig
2024-08-23  0:17   ` [PATCH 11/24] xfs: create incore realtime group structures Darrick J. Wong
2024-08-23  5:01     ` Christoph Hellwig
2024-08-25 23:56     ` Dave Chinner
2024-08-26 19:14       ` Darrick J. Wong
2024-08-27  0:57         ` Dave Chinner
2024-08-27  1:55           ` Darrick J. Wong
2024-08-27  3:00             ` Dave Chinner
2024-08-27  4:44             ` Christoph Hellwig
2024-08-27  4:38           ` Christoph Hellwig
2024-08-27  5:17             ` Darrick J. Wong
2024-08-27  5:18               ` Christoph Hellwig
2024-08-27  4:27         ` Christoph Hellwig
2024-08-27  5:19           ` Darrick J. Wong
2024-08-23  0:17   ` [PATCH 12/24] xfs: define locking primitives for realtime groups Darrick J. Wong
2024-08-23  5:02     ` Christoph Hellwig
2024-08-23  0:18   ` [PATCH 13/24] xfs: add a lockdep class key for rtgroup inodes Darrick J. Wong
2024-08-23  5:02     ` Christoph Hellwig
2024-08-25 23:58     ` Dave Chinner
2024-08-26 21:38       ` Darrick J. Wong
2024-08-27  0:58         ` Dave Chinner
2024-08-27  1:56           ` Darrick J. Wong
2024-08-27  3:00             ` Dave Chinner
2024-08-23  0:18   ` [PATCH 14/24] xfs: support caching rtgroup metadata inodes Darrick J. Wong
2024-08-23  5:02     ` Christoph Hellwig
2024-08-26  1:41     ` Dave Chinner
2024-08-26 18:37       ` Darrick J. Wong
2024-08-27  1:05         ` Dave Chinner
2024-08-27  2:01           ` Darrick J. Wong
2024-08-23  0:18   ` [PATCH 15/24] xfs: add rtgroup-based realtime scrubbing context management Darrick J. Wong
2024-08-23  5:03     ` Christoph Hellwig
2024-08-23  0:18   ` [PATCH 16/24] xfs: move RT bitmap and summary information to the rtgroup Darrick J. Wong
2024-08-26  1:58     ` Dave Chinner
2024-08-23  0:19   ` [PATCH 17/24] xfs: remove XFS_ILOCK_RT* Darrick J. Wong
2024-08-23  5:04     ` Christoph Hellwig
2024-08-23  0:19   ` [PATCH 18/24] xfs: calculate RT bitmap and summary blocks based on sb_rextents Darrick J. Wong
2024-08-23  0:19   ` [PATCH 19/24] xfs: factor out a xfs_growfs_rt_alloc_fake_mount helper Darrick J. Wong
2024-08-23  0:19   ` [PATCH 20/24] xfs: use xfs_growfs_rt_alloc_fake_mount in xfs_growfs_rt_alloc_blocks Darrick J. Wong
2024-08-23  0:20   ` [PATCH 21/24] xfs: factor out a xfs_growfs_check_rtgeom helper Darrick J. Wong
2024-08-26  2:06     ` Dave Chinner
2024-08-26 18:27       ` Darrick J. Wong
2024-08-27  1:29         ` Dave Chinner
2024-08-27  4:27           ` Darrick J. Wong
2024-08-27 22:16             ` Dave Chinner
2024-08-23  0:20   ` [PATCH 22/24] xfs: refactor xfs_rtbitmap_blockcount Darrick J. Wong
2024-08-23  0:20   ` [PATCH 23/24] xfs: refactor xfs_rtsummary_blockcount Darrick J. Wong
2024-08-23  0:20   ` [PATCH 24/24] xfs: make RT extent numbers relative to the rtgroup Darrick J. Wong
2024-08-22 23:58 ` [PATCHSET v4.0 08/10] xfs: preparation for realtime allocation groups Darrick J. Wong
2024-08-23  0:21   ` [PATCH 1/1] iomap: add a merge boundary flag Darrick J. Wong
2024-08-22 23:58 ` [PATCHSET v4.0 09/10] xfs: shard the realtime section Darrick J. Wong
2024-08-23  0:21   ` [PATCH 01/26] xfs: define the format of rt groups Darrick J. Wong
2024-08-23  5:11     ` Christoph Hellwig
2024-08-23 18:12       ` Darrick J. Wong
2024-08-23  0:21   ` [PATCH 02/26] xfs: check the realtime superblock at mount time Darrick J. Wong
2024-08-23  5:11     ` Christoph Hellwig
2024-08-23  0:21   ` [PATCH 03/26] xfs: update realtime super every time we update the primary fs super Darrick J. Wong
2024-08-23  5:12     ` Christoph Hellwig
2024-08-23  0:22   ` [PATCH 04/26] xfs: export realtime group geometry via XFS_FSOP_GEOM Darrick J. Wong
2024-08-23  5:12     ` Christoph Hellwig
2024-08-23  0:22   ` [PATCH 05/26] xfs: check that rtblock extents do not break rtsupers or rtgroups Darrick J. Wong
2024-08-23  5:13     ` Christoph Hellwig
2024-08-23  0:22   ` [PATCH 06/26] xfs: add a helper to prevent bmap merges across rtgroup boundaries Darrick J. Wong
2024-08-23  0:22   ` [PATCH 07/26] xfs: add frextents to the lazysbcounters when rtgroups enabled Darrick J. Wong
2024-08-23  5:13     ` Christoph Hellwig
2024-08-23  0:23   ` [PATCH 08/26] xfs: convert sick_map loops to use ARRAY_SIZE Darrick J. Wong
2024-08-23  5:14     ` Christoph Hellwig
2024-08-23  0:23   ` [PATCH 09/26] xfs: record rt group metadata errors in the health system Darrick J. Wong
2024-08-23  5:14     ` Christoph Hellwig
2024-08-23  0:23   ` [PATCH 10/26] xfs: export the geometry of realtime groups to userspace Darrick J. Wong
2024-08-23  5:14     ` Christoph Hellwig
2024-08-23  0:24   ` [PATCH 11/26] xfs: add block headers to realtime bitmap and summary blocks Darrick J. Wong
2024-08-23  5:15     ` Christoph Hellwig
2024-08-23  0:24   ` [PATCH 12/26] xfs: encode the rtbitmap in big endian format Darrick J. Wong
2024-08-23  5:15     ` Christoph Hellwig
2024-08-23  0:24   ` [PATCH 13/26] xfs: encode the rtsummary " Darrick J. Wong
2024-08-23  5:15     ` Christoph Hellwig
2024-08-23  0:24   ` [PATCH 14/26] xfs: grow the realtime section when realtime groups are enabled Darrick J. Wong
2024-08-23  5:16     ` Christoph Hellwig
2024-08-23  0:25   ` [PATCH 15/26] xfs: store rtgroup information with a bmap intent Darrick J. Wong
2024-08-23  5:16     ` Christoph Hellwig
2024-08-23  0:25   ` [PATCH 16/26] xfs: force swapext to a realtime file to use the file content exchange ioctl Darrick J. Wong
2024-08-23  5:17     ` Christoph Hellwig
2024-08-23  0:25   ` [PATCH 17/26] xfs: support logging EFIs for realtime extents Darrick J. Wong
2024-08-23  5:17     ` Christoph Hellwig
2024-08-26  4:33     ` Dave Chinner
2024-08-26 19:38       ` Darrick J. Wong
2024-08-27  1:36         ` Dave Chinner
2024-08-23  0:25   ` [PATCH 18/26] xfs: support error injection when freeing rt extents Darrick J. Wong
2024-08-23  5:18     ` Christoph Hellwig
2024-08-23  0:26   ` [PATCH 19/26] xfs: use realtime EFI to free extents when rtgroups are enabled Darrick J. Wong
2024-08-23  5:18     ` Christoph Hellwig
2024-08-23  0:26   ` [PATCH 20/26] xfs: don't merge ioends across RTGs Darrick J. Wong
2024-08-23  0:26   ` [PATCH 21/26] xfs: make the RT allocator rtgroup aware Darrick J. Wong
2024-08-26  4:56     ` Dave Chinner
2024-08-26 19:40       ` Darrick J. Wong
2024-08-27  1:56         ` Dave Chinner
2024-08-27  2:16           ` Darrick J. Wong
2024-08-27  5:00             ` Christoph Hellwig
2024-08-27  5:00         ` Christoph Hellwig
2024-08-27  4:59       ` Christoph Hellwig
2024-08-23  0:26   ` [PATCH 22/26] xfs: don't coalesce file mappings that cross rtgroup boundaries in scrub Darrick J. Wong
2024-08-23  5:19     ` Christoph Hellwig
2024-08-23  0:27   ` [PATCH 23/26] xfs: scrub the realtime group superblock Darrick J. Wong
2024-08-23  5:19     ` Christoph Hellwig
2024-08-23  0:27   ` [PATCH 24/26] xfs: repair " Darrick J. Wong
2024-08-23  5:19     ` Christoph Hellwig
2024-08-23  0:27   ` [PATCH 25/26] xfs: scrub metadir paths for rtgroup metadata Darrick J. Wong
2024-08-23  5:20     ` Christoph Hellwig
2024-08-23  0:27   ` [PATCH 26/26] xfs: mask off the rtbitmap and summary inodes when metadir in use Darrick J. Wong
2024-08-23  5:20     ` Christoph Hellwig
2024-08-22 23:58 ` [PATCHSET v4.0 10/10] xfs: store quota files in the metadir Darrick J. Wong
2024-08-23  0:28   ` [PATCH 1/6] xfs: refactor xfs_qm_destroy_quotainos Darrick J. Wong
2024-08-23  5:51     ` Christoph Hellwig
2024-08-23  0:28   ` [PATCH 2/6] xfs: use metadir for quota inodes Darrick J. Wong
2024-08-23  5:53     ` Christoph Hellwig
2024-08-23 18:20       ` Darrick J. Wong
2024-08-23  0:28   ` [PATCH 3/6] xfs: scrub quota file metapaths Darrick J. Wong
2024-08-23  5:53     ` Christoph Hellwig
2024-08-23  0:28   ` [PATCH 4/6] xfs: persist quota flags with metadir Darrick J. Wong
2024-08-23  5:54     ` Christoph Hellwig
2024-08-23 18:23       ` Darrick J. Wong
2024-08-26  9:42     ` Dave Chinner
2024-08-26 18:15       ` Darrick J. Wong
2024-08-23  0:29   ` [PATCH 5/6] xfs: update sb field checks when metadir is turned on Darrick J. Wong
2024-08-23  5:55     ` Christoph Hellwig
2024-08-26  9:52     ` Dave Chinner
2024-08-26 18:07       ` Darrick J. Wong
2024-08-27  2:16         ` Dave Chinner
2024-08-27  3:16           ` Darrick J. Wong
2024-08-23  0:29   ` [PATCH 6/6] xfs: enable metadata directory feature Darrick J. Wong
2024-08-23  5:58     ` Christoph Hellwig
2024-08-23 18:26       ` Darrick J. Wong
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02 18:21 [PATCHSET v31.1 1/8] xfs: atomic file content commits Darrick J. Wong
2024-09-02 18:23 ` [PATCH 1/1] xfs: introduce new file range commit ioctls Darrick J. Wong
2024-09-03  7:52   ` Christian Brauner
2024-10-25 21:23     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox