From: "Darrick J. Wong" <djwong@kernel.org>
To: djwong@kernel.org
Cc: Dave Chinner <dchinner@redhat.com>,
Allison Henderson <allison.henderson@oracle.com>,
catherine.hoang@oracle.com, allison.henderson@oracle.com,
linux-xfs@vger.kernel.org
Subject: [PATCH 07/18] xfs: add parent attributes to link
Date: Sun, 31 Dec 2023 12:50:19 -0800 [thread overview]
Message-ID: <170404841152.1756905.9141159000997600645.stgit@frogsfrogsfrogs> (raw)
In-Reply-To: <170404840995.1756905.18018727013229504371.stgit@frogsfrogsfrogs>
From: Allison Henderson <allison.henderson@oracle.com>
This patch modifies xfs_link to add a parent pointer to the inode.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: minor rebase fixes]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
fs/xfs/libxfs/xfs_trans_space.c | 14 +++++++++++++
fs/xfs/libxfs/xfs_trans_space.h | 3 +--
fs/xfs/scrub/dir_repair.c | 2 +-
fs/xfs/scrub/orphanage.c | 2 +-
fs/xfs/xfs_inode.c | 41 +++++++++++++++++++++++++++++++++------
5 files changed, 52 insertions(+), 10 deletions(-)
diff --git a/fs/xfs/libxfs/xfs_trans_space.c b/fs/xfs/libxfs/xfs_trans_space.c
index 90532c3fa2053..cf775750120e8 100644
--- a/fs/xfs/libxfs/xfs_trans_space.c
+++ b/fs/xfs/libxfs/xfs_trans_space.c
@@ -50,3 +50,17 @@ xfs_mkdir_space_res(
{
return xfs_create_space_res(mp, namelen);
}
+
+unsigned int
+xfs_link_space_res(
+ struct xfs_mount *mp,
+ unsigned int namelen)
+{
+ unsigned int ret;
+
+ ret = XFS_DIRENTER_SPACE_RES(mp, namelen);
+ if (xfs_has_parent(mp))
+ ret += xfs_parent_calc_space_res(mp, namelen);
+
+ return ret;
+}
diff --git a/fs/xfs/libxfs/xfs_trans_space.h b/fs/xfs/libxfs/xfs_trans_space.h
index 6cda87153b38c..5539634009fb2 100644
--- a/fs/xfs/libxfs/xfs_trans_space.h
+++ b/fs/xfs/libxfs/xfs_trans_space.h
@@ -86,8 +86,6 @@
(2 * (mp)->m_alloc_maxlevels)
#define XFS_GROWFSRT_SPACE_RES(mp,b) \
((b) + XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK))
-#define XFS_LINK_SPACE_RES(mp,nl) \
- XFS_DIRENTER_SPACE_RES(mp,nl)
#define XFS_QM_DQALLOC_SPACE_RES(mp) \
(XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + \
XFS_DQUOT_CLUSTER_SIZE_FSB)
@@ -107,5 +105,6 @@ unsigned int xfs_parent_calc_space_res(struct xfs_mount *mp,
unsigned int xfs_create_space_res(struct xfs_mount *mp, unsigned int namelen);
unsigned int xfs_mkdir_space_res(struct xfs_mount *mp, unsigned int namelen);
+unsigned int xfs_link_space_res(struct xfs_mount *mp, unsigned int namelen);
#endif /* __XFS_TRANS_SPACE_H__ */
diff --git a/fs/xfs/scrub/dir_repair.c b/fs/xfs/scrub/dir_repair.c
index 48e30a9baeae0..e74f456c7b444 100644
--- a/fs/xfs/scrub/dir_repair.c
+++ b/fs/xfs/scrub/dir_repair.c
@@ -705,7 +705,7 @@ xrep_dir_replay_update(
uint resblks;
int error;
- resblks = XFS_LINK_SPACE_RES(mp, dirent->namelen);
+ resblks = xfs_link_space_res(mp, dirent->namelen);
error = xchk_trans_alloc(rd->sc, resblks);
if (error)
return error;
diff --git a/fs/xfs/scrub/orphanage.c b/fs/xfs/scrub/orphanage.c
index e1024a7bc9e96..84e6dcef067c1 100644
--- a/fs/xfs/scrub/orphanage.c
+++ b/fs/xfs/scrub/orphanage.c
@@ -326,7 +326,7 @@ xrep_adoption_trans_alloc(
/* Compute the worst case space reservation that we need. */
adopt->sc = sc;
- adopt->orphanage_blkres = XFS_LINK_SPACE_RES(mp, MAXNAMELEN);
+ adopt->orphanage_blkres = xfs_link_space_res(mp, MAXNAMELEN);
if (S_ISDIR(VFS_I(sc->ip)->i_mode))
child_blkres = XFS_RENAME_SPACE_RES(mp, xfs_name_dotdot.len);
adopt->child_blkres = child_blkres;
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 20aee9db1b43a..4d7d923cf72ec 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1309,14 +1309,15 @@ xfs_create_tmpfile(
int
xfs_link(
- xfs_inode_t *tdp,
- xfs_inode_t *sip,
+ struct xfs_inode *tdp,
+ struct xfs_inode *sip,
struct xfs_name *target_name)
{
- xfs_mount_t *mp = tdp->i_mount;
- xfs_trans_t *tp;
+ struct xfs_mount *mp = tdp->i_mount;
+ struct xfs_trans *tp;
int error, nospace_error = 0;
int resblks;
+ struct xfs_parent_args *ppargs;
trace_xfs_link(tdp, target_name);
@@ -1335,11 +1336,25 @@ xfs_link(
if (error)
goto std_return;
- resblks = XFS_LINK_SPACE_RES(mp, target_name->len);
+ error = xfs_parent_start(mp, &ppargs);
+ if (error)
+ goto std_return;
+
+ resblks = xfs_link_space_res(mp, target_name->len);
error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks,
&tp, &nospace_error);
if (error)
- goto std_return;
+ goto out_parent;
+
+ /*
+ * We don't allow reservationless or quotaless hardlinking when parent
+ * pointers are enabled because we can't back out if the xattrs must
+ * grow.
+ */
+ if (ppargs && nospace_error) {
+ error = nospace_error;
+ goto error_return;
+ }
/*
* If we are using project inheritance, we only allow hard link
@@ -1379,6 +1394,17 @@ xfs_link(
xfs_trans_log_inode(tp, tdp, XFS_ILOG_CORE);
xfs_bumplink(tp, sip);
+
+ /*
+ * If we have parent pointers, we now need to add the parent record to
+ * the attribute fork of the inode. If this is the initial parent
+ * attribute, we need to create it correctly, otherwise we can just add
+ * the parent to the inode.
+ */
+ error = xfs_parent_add(tp, ppargs, tdp, target_name, sip);
+ if (error)
+ goto error_return;
+
xfs_dir_update_hook(tdp, sip, 1, target_name);
/*
@@ -1392,12 +1418,15 @@ xfs_link(
error = xfs_trans_commit(tp);
xfs_iunlock(tdp, XFS_ILOCK_EXCL);
xfs_iunlock(sip, XFS_ILOCK_EXCL);
+ xfs_parent_finish(mp, ppargs);
return error;
error_return:
xfs_trans_cancel(tp);
xfs_iunlock(tdp, XFS_ILOCK_EXCL);
xfs_iunlock(sip, XFS_ILOCK_EXCL);
+ out_parent:
+ xfs_parent_finish(mp, ppargs);
std_return:
if (error == -ENOSPC && nospace_error)
error = nospace_error;
next prev parent reply other threads:[~2023-12-31 20:50 UTC|newest]
Thread overview: 185+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-31 18:18 [NYE PATCHRIVER 2/4] xfs: online repair part 2 Darrick J. Wong
2023-12-31 19:32 ` [PATCHSET v13.0 1/7] xfs: design documentation for online fsck, " Darrick J. Wong
2023-12-31 20:42 ` [PATCH 1/4] docs: update the parent pointers documentation to the final version Darrick J. Wong
2023-12-31 20:42 ` [PATCH 2/4] docs: update online directory and parent pointer repair sections Darrick J. Wong
2023-12-31 20:42 ` [PATCH 3/4] docs: update offline parent pointer repair strategy Darrick J. Wong
2023-12-31 20:43 ` [PATCH 4/4] docs: describe xfs directory tree online fsck Darrick J. Wong
2023-12-31 19:33 ` [PATCHSET v13.0 2/7] xfs: retain ILOCK during directory updates Darrick J. Wong
2023-12-31 20:43 ` [PATCH 1/7] xfs: Increase XFS_DEFER_OPS_NR_INODES to 5 Darrick J. Wong
2023-12-31 20:43 ` [PATCH 2/7] xfs: Increase XFS_QM_TRANS_MAXDQS " Darrick J. Wong
2023-12-31 20:43 ` [PATCH 3/7] xfs: Hold inode locks in xfs_ialloc Darrick J. Wong
2023-12-31 20:44 ` [PATCH 4/7] xfs: Hold inode locks in xfs_trans_alloc_dir Darrick J. Wong
2023-12-31 20:44 ` [PATCH 5/7] xfs: Hold inode locks in xfs_rename Darrick J. Wong
2023-12-31 20:44 ` [PATCH 6/7] xfs: don't pick up IOLOCK during rmapbt repair scan Darrick J. Wong
2023-12-31 20:44 ` [PATCH 7/7] xfs: unlock new repair tempfiles after creation Darrick J. Wong
2023-12-31 19:33 ` [PATCHSET v13.0 3/7] xfs: name-value xattr lookups Darrick J. Wong
2023-12-31 20:45 ` [PATCH 01/14] xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item recovery Darrick J. Wong
2023-12-31 20:45 ` [PATCH 02/14] xfs: allow newer INCOMPAT/RO_COMPAT feature bits to protect ATTRI log items Darrick J. Wong
2023-12-31 20:45 ` [PATCH 03/14] xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2 Darrick J. Wong
2023-12-31 20:45 ` [PATCH 04/14] xfs: make xfs_attr_set require XFS_DA_OP_REMOVE Darrick J. Wong
2023-12-31 20:46 ` [PATCH 05/14] xfs: allow xattr matching on name and value for local/sf attrs Darrick J. Wong
2023-12-31 20:46 ` [PATCH 06/14] xfs: preserve NVLOOKUP in xfs_attr_set Darrick J. Wong
2023-12-31 20:46 ` [PATCH 07/14] xfs: restructure xfs_attr_complete_op a bit Darrick J. Wong
2023-12-31 20:46 ` [PATCH 08/14] xfs: use helpers to extract xattr op from opflags Darrick J. Wong
2023-12-31 20:47 ` [PATCH 09/14] xfs: validate recovered name buffers when recovering xattr items Darrick J. Wong
2023-12-31 20:47 ` [PATCH 10/14] xfs: always set args->value in xfs_attri_item_recover Darrick J. Wong
2023-12-31 20:47 ` [PATCH 11/14] xfs: use local variables for name and value length in _attri_commit_pass2 Darrick J. Wong
2023-12-31 20:47 ` [PATCH 12/14] xfs: log NVLOOKUP xattr removal operations Darrick J. Wong
2023-12-31 20:48 ` [PATCH 13/14] xfs: log NVLOOKUP xattr setting operations Darrick J. Wong
2023-12-31 20:48 ` [PATCH 14/14] xfs: log NVLOOKUP xattr nvreplace operations Darrick J. Wong
2023-12-31 19:33 ` [PATCHSET v13.0 4/7] xfs: Parent Pointers Darrick J. Wong
2023-12-31 20:48 ` [PATCH 01/18] xfs: Expose init_xattrs in xfs_create_tmpfile Darrick J. Wong
2023-12-31 20:49 ` [PATCH 02/18] xfs: add parent pointer support to attribute code Darrick J. Wong
2023-12-31 20:49 ` [PATCH 03/18] xfs: define parent pointer ondisk extended attribute format Darrick J. Wong
2023-12-31 20:49 ` [PATCH 04/18] xfs: add parent pointer validator functions Darrick J. Wong
2023-12-31 20:49 ` [PATCH 05/18] xfs: extend transaction reservations for parent attributes Darrick J. Wong
2023-12-31 20:50 ` [PATCH 06/18] xfs: parent pointer attribute creation Darrick J. Wong
2023-12-31 20:50 ` Darrick J. Wong [this message]
2023-12-31 20:50 ` [PATCH 08/18] xfs: add parent attributes to symlink Darrick J. Wong
2023-12-31 20:50 ` [PATCH 09/18] xfs: remove parent pointers in unlink Darrick J. Wong
2023-12-31 20:51 ` [PATCH 10/18] xfs: Add parent pointers to rename Darrick J. Wong
2023-12-31 20:51 ` [PATCH 11/18] xfs: Add parent pointers to xfs_cross_rename Darrick J. Wong
2023-12-31 20:51 ` [PATCH 12/18] xfs: Filter XFS_ATTR_PARENT for getfattr Darrick J. Wong
2023-12-31 20:51 ` [PATCH 13/18] xfs: pass the attr value to put_listent when possible Darrick J. Wong
2023-12-31 20:52 ` [PATCH 14/18] xfs: Add parent pointer ioctl Darrick J. Wong
2023-12-31 20:52 ` [PATCH 15/18] xfs: fix unit conversion error in xfs_log_calc_max_attrsetm_res Darrick J. Wong
2023-12-31 20:52 ` [PATCH 16/18] xfs: drop compatibility minimum log size computations for reflink Darrick J. Wong
2023-12-31 20:52 ` [PATCH 17/18] xfs: don't remove the attr fork when parent pointers are enabled Darrick J. Wong
2023-12-31 20:53 ` [PATCH 18/18] xfs: Add the parent pointer support to the superblock version 5 Darrick J. Wong
2023-12-31 19:33 ` [PATCHSET v13.0 5/7] xfs: fsck for parent pointers Darrick J. Wong
2023-12-31 20:53 ` [PATCH 01/22] xfs: check dirents have " Darrick J. Wong
2023-12-31 20:53 ` [PATCH 02/22] xfs: deferred scrub of dirents Darrick J. Wong
2023-12-31 20:53 ` [PATCH 03/22] xfs: create a parent pointer walk function for scrubbers Darrick J. Wong
2023-12-31 20:54 ` [PATCH 04/22] xfs: scrub parent pointers Darrick J. Wong
2023-12-31 20:54 ` [PATCH 05/22] xfs: deferred scrub of " Darrick J. Wong
2023-12-31 20:54 ` [PATCH 06/22] xfs: walk directory parent pointers to determine backref count Darrick J. Wong
2023-12-31 20:55 ` [PATCH 07/22] xfs: add raw parent pointer apis to support repair Darrick J. Wong
2023-12-31 20:55 ` [PATCH 08/22] xfs: set child file owner in xfs_da_args when changing parent pointers Darrick J. Wong
2023-12-31 20:55 ` [PATCH 09/22] xfs: salvage parent pointers when rebuilding xattr structures Darrick J. Wong
2023-12-31 20:55 ` [PATCH 10/22] xfs: replace namebuf with parent pointer in directory repair Darrick J. Wong
2023-12-31 20:56 ` [PATCH 11/22] xfs: repair directories by scanning directory parent pointers Darrick J. Wong
2023-12-31 20:56 ` [PATCH 12/22] xfs: implement live updates for directory repairs Darrick J. Wong
2023-12-31 20:56 ` [PATCH 13/22] xfs: replay unlocked parent pointer updates that accrue during xattr repair Darrick J. Wong
2023-12-31 20:56 ` [PATCH 14/22] xfs: replace namebuf with parent pointer in parent pointer repair Darrick J. Wong
2023-12-31 20:57 ` [PATCH 15/22] xfs: repair directory parent pointers by scanning for dirents Darrick J. Wong
2023-12-31 20:57 ` [PATCH 16/22] xfs: implement live updates for parent pointer repairs Darrick J. Wong
2023-12-31 20:57 ` [PATCH 17/22] xfs: remove pointless unlocked assertion Darrick J. Wong
2023-12-31 20:57 ` [PATCH 18/22] xfs: split xfs_bmap_add_attrfork into two pieces Darrick J. Wong
2023-12-31 20:58 ` [PATCH 19/22] xfs: actually rebuild the parent pointer xattrs Darrick J. Wong
2023-12-31 20:58 ` [PATCH 20/22] xfs: adapt the orphanage code to handle parent pointers Darrick J. Wong
2023-12-31 20:58 ` [PATCH 21/22] xfs: repair link count of nondirectories after rebuilding " Darrick J. Wong
2023-12-31 20:58 ` [PATCH 22/22] xfs: inode repair should ensure there's an attr fork to store " Darrick J. Wong
2023-12-31 19:34 ` [PATCHSET v13.0 6/7] xfs: detect and correct directory tree problems Darrick J. Wong
2023-12-31 20:59 ` [PATCH 1/4] xfs: teach online scrub to find directory tree structure problems Darrick J. Wong
2023-12-31 20:59 ` [PATCH 2/4] xfs: invalidate dirloop scrub path data when concurrent updates happen Darrick J. Wong
2023-12-31 20:59 ` [PATCH 3/4] xfs: report directory tree corruption in the health information Darrick J. Wong
2023-12-31 20:59 ` [PATCH 4/4] xfs: fix corruptions in the directory tree Darrick J. Wong
2023-12-31 19:34 ` [PATCHSET v13.0 7/7] xfs: vectorize scrub kernel calls Darrick J. Wong
2023-12-31 21:00 ` [PATCH 1/3] xfs: reduce the rate of cond_resched calls inside scrub Darrick J. Wong
2023-12-31 21:00 ` [PATCH 2/3] xfs: introduce vectored scrub mode Darrick J. Wong
2023-12-31 21:00 ` [PATCH 3/3] xfs: only iget the file once when doing vectored scrub-by-handle Darrick J. Wong
2023-12-31 19:50 ` [PATCHSET v13.0 1/6] xfsprogs: retain ILOCK during directory updates Darrick J. Wong
2023-12-31 23:02 ` [PATCH 1/1] xfs: Increase XFS_DEFER_OPS_NR_INODES to 5 Darrick J. Wong
2023-12-31 19:50 ` [PATCHSET v13.0 2/6] xfsprogs: name-value xattr lookups Darrick J. Wong
2023-12-31 23:02 ` [PATCH 01/11] xfs: allow newer INCOMPAT/RO_COMPAT feature bits to protect ATTRI log items Darrick J. Wong
2023-12-31 23:02 ` [PATCH 02/11] xfs: make xfs_attr_set require XFS_DA_OP_REMOVE Darrick J. Wong
2023-12-31 23:03 ` [PATCH 03/11] xfs: allow xattr matching on name and value for local/sf attrs Darrick J. Wong
2023-12-31 23:03 ` [PATCH 04/11] xfs: preserve NVLOOKUP in xfs_attr_set Darrick J. Wong
2023-12-31 23:03 ` [PATCH 05/11] xfs: restructure xfs_attr_complete_op a bit Darrick J. Wong
2023-12-31 23:03 ` [PATCH 06/11] xfs: use helpers to extract xattr op from opflags Darrick J. Wong
2023-12-31 23:04 ` [PATCH 07/11] xfs: log NVLOOKUP xattr removal operations Darrick J. Wong
2023-12-31 23:04 ` [PATCH 08/11] xfs: log NVLOOKUP xattr setting operations Darrick J. Wong
2023-12-31 23:04 ` [PATCH 09/11] xfs: log NVLOOKUP xattr nvreplace operations Darrick J. Wong
2023-12-31 23:04 ` [PATCH 10/11] xfs_logprint: dump new attr log item fields Darrick J. Wong
2023-12-31 23:05 ` [PATCH 11/11] xfs_logprint: print missing attri header fields Darrick J. Wong
2023-12-31 19:50 ` [PATCHSET v13.0 3/6] xfsprogs: Parent Pointers Darrick J. Wong
2023-12-31 23:05 ` [PATCH 01/32] xfs: add parent pointer support to attribute code Darrick J. Wong
2023-12-31 23:05 ` [PATCH 02/32] xfs: define parent pointer ondisk extended attribute format Darrick J. Wong
2023-12-31 23:05 ` [PATCH 03/32] xfs: add parent pointer validator functions Darrick J. Wong
2023-12-31 23:06 ` [PATCH 04/32] xfs: extend transaction reservations for parent attributes Darrick J. Wong
2023-12-31 23:06 ` [PATCH 05/32] xfs: parent pointer attribute creation Darrick J. Wong
2023-12-31 23:06 ` [PATCH 06/32] xfs: add parent attributes to link Darrick J. Wong
2023-12-31 23:06 ` [PATCH 07/32] xfs: add parent attributes to symlink Darrick J. Wong
2023-12-31 23:07 ` [PATCH 08/32] xfs: remove parent pointers in unlink Darrick J. Wong
2023-12-31 23:07 ` [PATCH 09/32] xfs: Add parent pointers to rename Darrick J. Wong
2023-12-31 23:07 ` [PATCH 10/32] xfs: pass the attr value to put_listent when possible Darrick J. Wong
2023-12-31 23:07 ` [PATCH 11/32] xfs: Add parent pointer ioctl Darrick J. Wong
2023-12-31 23:08 ` [PATCH 12/32] xfs: fix unit conversion error in xfs_log_calc_max_attrsetm_res Darrick J. Wong
2023-12-31 23:08 ` [PATCH 13/32] xfs: drop compatibility minimum log size computations for reflink Darrick J. Wong
2023-12-31 23:08 ` [PATCH 14/32] xfs: don't remove the attr fork when parent pointers are enabled Darrick J. Wong
2023-12-31 23:09 ` [PATCH 15/32] xfs: Add the parent pointer support to the superblock version 5 Darrick J. Wong
2023-12-31 23:09 ` [PATCH 16/32] libfrog: add parent pointer support code Darrick J. Wong
2023-12-31 23:09 ` [PATCH 17/32] libfrog: detect looping paths when walking directory parent pointers Darrick J. Wong
2023-12-31 23:09 ` [PATCH 18/32] xfs_io: adapt parent command to new parent pointer ioctls Darrick J. Wong
2023-12-31 23:10 ` [PATCH 19/32] xfs_io: Add i, n and f flags to parent command Darrick J. Wong
2023-12-31 23:10 ` [PATCH 20/32] xfs_logprint: decode parent pointers in ATTRI items fully Darrick J. Wong
2023-12-31 23:10 ` [PATCH 21/32] xfs_spaceman: report file paths Darrick J. Wong
2023-12-31 23:10 ` [PATCH 22/32] xfs_scrub: use parent pointers when possible to report file operations Darrick J. Wong
2023-12-31 23:11 ` [PATCH 23/32] xfs_db: report parent pointers in version command Darrick J. Wong
2023-12-31 23:11 ` [PATCH 24/32] xfs_db: report parent bit on xattrs Darrick J. Wong
2023-12-31 23:11 ` [PATCH 25/32] xfs_db: report parent pointers embedded in xattrs Darrick J. Wong
2023-12-31 23:11 ` [PATCH 26/32] xfs_db: obfuscate dirent and parent pointer names consistently Darrick J. Wong
2023-12-31 23:12 ` [PATCH 27/32] libxfs: export attr3_leaf_hdr_from_disk via libxfs_api_defs.h Darrick J. Wong
2023-12-31 23:12 ` [PATCH 28/32] xfs_db: add a parents command to list the parents of a file Darrick J. Wong
2023-12-31 23:12 ` [PATCH 29/32] libxfs: create new files with attr forks if necessary Darrick J. Wong
2023-12-31 23:12 ` [PATCH 30/32] xfsprogs: Fix default superblock attr bits Darrick J. Wong
2023-12-31 23:13 ` [PATCH 31/32] mkfs: Add parent pointers during protofile creation Darrick J. Wong
2023-12-31 23:13 ` [PATCH 32/32] mkfs: enable formatting with parent pointers Darrick J. Wong
2023-12-31 19:51 ` [PATCHSET v13.0 4/6] xfsprogs: fsck for " Darrick J. Wong
2023-12-31 23:13 ` [PATCH 01/18] xfs: create a blob array data structure Darrick J. Wong
2023-12-31 23:13 ` [PATCH 02/18] xfs: check dirents have parent pointers Darrick J. Wong
2023-12-31 23:14 ` [PATCH 03/18] man2: update ioctl_xfs_scrub_metadata.2 for " Darrick J. Wong
2023-12-31 23:14 ` [PATCH 04/18] xfs: add raw parent pointer apis to support repair Darrick J. Wong
2023-12-31 23:14 ` [PATCH 05/18] xfs: set child file owner in xfs_da_args when changing parent pointers Darrick J. Wong
2023-12-31 23:15 ` [PATCH 06/18] xfs: remove pointless unlocked assertion Darrick J. Wong
2023-12-31 23:15 ` [PATCH 07/18] xfs: split xfs_bmap_add_attrfork into two pieces Darrick J. Wong
2023-12-31 23:15 ` [PATCH 08/18] xfs: actually rebuild the parent pointer xattrs Darrick J. Wong
2023-12-31 23:15 ` [PATCH 09/18] xfs_repair: add parent pointers when messing with /lost+found Darrick J. Wong
2023-12-31 23:16 ` [PATCH 10/18] xfs_repair: build a parent pointer index Darrick J. Wong
2023-12-31 23:16 ` [PATCH 11/18] xfs_repair: move the global dirent name store to a separate object Darrick J. Wong
2023-12-31 23:16 ` [PATCH 12/18] xfs_repair: deduplicate strings stored in string blob Darrick J. Wong
2023-12-31 23:16 ` [PATCH 13/18] xfs_repair: check parent pointers Darrick J. Wong
2023-12-31 23:17 ` [PATCH 14/18] xfs_repair: dump garbage parent pointer attributes Darrick J. Wong
2023-12-31 23:17 ` [PATCH 15/18] xfs_repair: update ondisk parent pointer records Darrick J. Wong
2023-12-31 23:17 ` [PATCH 16/18] xfs_repair: wipe ondisk parent pointers when there are none Darrick J. Wong
2023-12-31 23:17 ` [PATCH 17/18] xfs_repair: upgrade an existing filesystem to have parent pointers Darrick J. Wong
2023-12-31 23:18 ` [PATCH 18/18] xfs_scrub: use parent pointers to report lost file data Darrick J. Wong
2023-12-31 19:51 ` [PATCHSET v13.0 5/6] xfs: detect and correct directory tree problems Darrick J. Wong
2023-12-31 23:18 ` [PATCH 1/6] xfs_db: add link and unlink expert commands Darrick J. Wong
2023-12-31 23:18 ` [PATCH 2/6] xfs: teach online scrub to find directory tree structure problems Darrick J. Wong
2023-12-31 23:18 ` [PATCH 3/6] xfs: report directory tree corruption in the health information Darrick J. Wong
2023-12-31 23:19 ` [PATCH 4/6] xfs_scrub: fix erroring out of check_inode_names Darrick J. Wong
2023-12-31 23:19 ` [PATCH 5/6] xfs_scrub: detect and repair directory tree corruptions Darrick J. Wong
2023-12-31 23:19 ` [PATCH 6/6] xfs_scrub: defer phase5 file scans if dirloop fails Darrick J. Wong
2023-12-31 19:51 ` [PATCHSET 6/6] xfs_scrub: vectorize kernel calls Darrick J. Wong
2023-12-31 23:19 ` [PATCH 01/10] xfs: introduce vectored scrub mode Darrick J. Wong
2023-12-31 23:20 ` [PATCH 02/10] libfrog: support vectored scrub Darrick J. Wong
2023-12-31 23:20 ` [PATCH 03/10] xfs_io: " Darrick J. Wong
2023-12-31 23:20 ` [PATCH 04/10] xfs_scrub: split the scrub epilogue code into a separate function Darrick J. Wong
2023-12-31 23:21 ` [PATCH 05/10] xfs_scrub: split the repair " Darrick J. Wong
2023-12-31 23:21 ` [PATCH 06/10] xfs_scrub: convert scrub and repair epilogues to use xfs_scrub_vec Darrick J. Wong
2023-12-31 23:21 ` [PATCH 07/10] xfs_scrub: vectorize scrub calls Darrick J. Wong
2023-12-31 23:21 ` [PATCH 08/10] xfs_scrub: vectorize repair calls Darrick J. Wong
2023-12-31 23:22 ` [PATCH 09/10] xfs_scrub: use scrub barriers to reduce kernel calls Darrick J. Wong
2023-12-31 23:22 ` [PATCH 10/10] xfs_scrub: try spot repairs of metadata items to make scrub progress Darrick J. Wong
2023-12-31 19:59 ` [PATCHSET v13.0 1/3] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2023-12-27 13:46 ` [PATCH 01/11] generic: test recovery of extended attribute updates Darrick J. Wong
2023-12-27 13:46 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
2023-12-27 13:47 ` [PATCH 03/11] xfs/122: update for parent pointers Darrick J. Wong
2023-12-27 13:47 ` [PATCH 04/11] populate: create hardlinks " Darrick J. Wong
2023-12-27 13:47 ` [PATCH 05/11] xfs/021: adapt golden output files " Darrick J. Wong
2023-12-27 13:47 ` [PATCH 06/11] xfs/{018,191,288}: disable parent pointers for this test Darrick J. Wong
2023-12-27 13:48 ` [PATCH 07/11] xfs/306: fix formatting failures with parent pointers Darrick J. Wong
2023-12-27 13:48 ` [PATCH 08/11] common: add helpers for parent pointer tests Darrick J. Wong
2023-12-27 13:48 ` [PATCH 09/11] xfs: add parent pointer test Darrick J. Wong
2023-12-27 13:48 ` [PATCH 10/11] xfs: add multi link " Darrick J. Wong
2023-12-27 13:49 ` [PATCH 11/11] xfs: add parent pointer inject test Darrick J. Wong
2023-12-31 19:59 ` [PATCHSET v13.0 2/3] xfs: detect and correct directory tree structures Darrick J. Wong
2023-12-27 13:49 ` [PATCH 1/2] common/fuzzy: stress directory tree modifications with the dirtree tester Darrick J. Wong
2023-12-27 13:49 ` [PATCH 2/2] scrub: test correction of directory tree corruptions Darrick J. Wong
2023-12-31 19:59 ` [PATCHSET 3/3] xfs_scrub: vectorize kernel calls Darrick J. Wong
2023-12-27 13:49 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
2023-12-31 20:03 ` [PATCHSET v13.0 1/2] xfs-documentation: document attr log item changes for parent pointers Darrick J. Wong
2023-12-27 14:07 ` [PATCH 1/1] design: document new name-value logged attribute variants Darrick J. Wong
2023-12-31 20:03 ` [PATCHSET v13.0 2/2] xfs-documentation: document parent pointers Darrick J. Wong
2023-12-27 14:07 ` [PATCH 1/1] design: document the parent pointer ondisk format 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=170404841152.1756905.9141159000997600645.stgit@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=allison.henderson@oracle.com \
--cc=catherine.hoang@oracle.com \
--cc=dchinner@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