* [PATCHSET v30.6 5/6] xfs_scrub: vectorize kernel calls
@ 2024-06-18 0:46 Darrick J. Wong
2024-06-18 0:53 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2024-06-18 0:46 UTC (permalink / raw)
To: djwong, zlang; +Cc: fstests, guan, linux-xfs
Hi all,
Create a vectorized version of the metadata scrub and repair ioctl, and
adapt xfs_scrub to use that. This is an experiment to measure overhead
and to try refactoring xfs_scrub.
If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.
This has been running on the djcloud for months with no problems. Enjoy!
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=vectorized-scrub
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=vectorized-scrub
fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=vectorized-scrub
---
Commits in this patchset:
* xfs/122: update for vectored scrub
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] xfs/122: update for vectored scrub
2024-06-18 0:46 [PATCHSET v30.6 5/6] xfs_scrub: vectorize kernel calls Darrick J. Wong
@ 2024-06-18 0:53 ` Darrick J. Wong
2024-06-19 6:21 ` Christoph Hellwig
0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2024-06-18 0:53 UTC (permalink / raw)
To: djwong, zlang; +Cc: fstests, guan, linux-xfs
From: Darrick J. Wong <djwong@kernel.org>
Add the two new vectored scrub structures.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 7be14ed993..60d8294551 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -124,6 +124,8 @@ sizeof(struct xfs_rtrmap_root) = 4
sizeof(struct xfs_rud_log_format) = 16
sizeof(struct xfs_rui_log_format) = 16
sizeof(struct xfs_scrub_metadata) = 64
+sizeof(struct xfs_scrub_vec) = 16
+sizeof(struct xfs_scrub_vec_head) = 40
sizeof(struct xfs_swap_extent) = 64
sizeof(struct xfs_unmount_log_format) = 8
sizeof(struct xfs_xmd_log_format) = 16
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCHSET v30.7 5/6] xfs_scrub: vectorize kernel calls
@ 2024-06-20 20:53 Darrick J. Wong
2024-06-20 21:00 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2024-06-20 20:53 UTC (permalink / raw)
To: djwong, zlang; +Cc: Christoph Hellwig, fstests, linux-xfs
Hi all,
Create a vectorized version of the metadata scrub and repair ioctl, and
adapt xfs_scrub to use that. This is an experiment to measure overhead
and to try refactoring xfs_scrub.
If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.
This has been running on the djcloud for months with no problems. Enjoy!
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=vectorized-scrub
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=vectorized-scrub
fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=vectorized-scrub
---
Commits in this patchset:
* xfs/122: update for vectored scrub
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] xfs/122: update for vectored scrub
2024-06-20 20:53 [PATCHSET v30.7 5/6] xfs_scrub: vectorize kernel calls Darrick J. Wong
@ 2024-06-20 21:00 ` Darrick J. Wong
0 siblings, 0 replies; 6+ messages in thread
From: Darrick J. Wong @ 2024-06-20 21:00 UTC (permalink / raw)
To: djwong, zlang; +Cc: Christoph Hellwig, fstests, linux-xfs
From: Darrick J. Wong <djwong@kernel.org>
Add the two new vectored scrub structures.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 7be14ed993..60d8294551 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -124,6 +124,8 @@ sizeof(struct xfs_rtrmap_root) = 4
sizeof(struct xfs_rud_log_format) = 16
sizeof(struct xfs_rui_log_format) = 16
sizeof(struct xfs_scrub_metadata) = 64
+sizeof(struct xfs_scrub_vec) = 16
+sizeof(struct xfs_scrub_vec_head) = 40
sizeof(struct xfs_swap_extent) = 64
sizeof(struct xfs_unmount_log_format) = 8
sizeof(struct xfs_xmd_log_format) = 16
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCHSET 3/3] xfs_scrub: vectorize kernel calls
@ 2023-12-31 19:59 Darrick J. Wong
2023-12-27 13:49 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2023-12-31 19:59 UTC (permalink / raw)
To: zlang, djwong; +Cc: linux-xfs, guan, fstests
Hi all,
Create a vectorized version of the metadata scrub and repair ioctl, and
adapt xfs_scrub to use that. This is an experiment to measure overhead
and to try refactoring xfs_scrub.
If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.
This has been running on the djcloud for months with no problems. Enjoy!
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=vectorized-scrub
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=vectorized-scrub
fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=vectorized-scrub
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] xfs/122: update for vectored scrub
2023-12-31 19:59 [PATCHSET 3/3] xfs_scrub: vectorize kernel calls Darrick J. Wong
@ 2023-12-27 13:49 ` Darrick J. Wong
0 siblings, 0 replies; 6+ messages in thread
From: Darrick J. Wong @ 2023-12-27 13:49 UTC (permalink / raw)
To: zlang, djwong; +Cc: linux-xfs, guan, fstests
From: Darrick J. Wong <djwong@kernel.org>
Add the two new vectored scrub structures.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 55138218dd..5d14386518 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -121,6 +121,8 @@ sizeof(struct xfs_rtrmap_root) = 4
sizeof(struct xfs_rud_log_format) = 16
sizeof(struct xfs_rui_log_format) = 16
sizeof(struct xfs_scrub_metadata) = 64
+sizeof(struct xfs_scrub_vec) = 16
+sizeof(struct xfs_scrub_vec_head) = 32
sizeof(struct xfs_swap_extent) = 64
sizeof(struct xfs_sxd_log_format) = 16
sizeof(struct xfs_sxi_log_format) = 80
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCHSET 0/1] xfs_scrub: vectorize kernel calls
@ 2022-12-30 22:21 Darrick J. Wong
2022-12-30 22:21 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2022-12-30 22:21 UTC (permalink / raw)
To: djwong, zlang; +Cc: linux-xfs, fstests, guan
Hi all,
Create a vectorized version of the metadata scrub and repair ioctl, and
adapt xfs_scrub to use that. This is an experiment to measure overhead
and to try refactoring xfs_scrub.
If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.
This is an extraordinary way to destroy everything. Enjoy!
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=vectorized-scrub
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=vectorized-scrub
fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=vectorized-scrub
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] xfs/122: update for vectored scrub
2022-12-30 22:21 [PATCHSET 0/1] xfs_scrub: vectorize kernel calls Darrick J. Wong
@ 2022-12-30 22:21 ` Darrick J. Wong
0 siblings, 0 replies; 6+ messages in thread
From: Darrick J. Wong @ 2022-12-30 22:21 UTC (permalink / raw)
To: djwong, zlang; +Cc: linux-xfs, fstests, guan
From: Darrick J. Wong <djwong@kernel.org>
Add the two new vectored scrub structures.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/xfs/122.out | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 3239a655f9..43461e875c 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -126,6 +126,8 @@ sizeof(struct xfs_rtsb) = 104
sizeof(struct xfs_rud_log_format) = 16
sizeof(struct xfs_rui_log_format) = 16
sizeof(struct xfs_scrub_metadata) = 64
+sizeof(struct xfs_scrub_vec) = 16
+sizeof(struct xfs_scrub_vec_head) = 24
sizeof(struct xfs_swap_extent) = 64
sizeof(struct xfs_sxd_log_format) = 16
sizeof(struct xfs_sxi_log_format) = 80
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-06-20 21:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 0:46 [PATCHSET v30.6 5/6] xfs_scrub: vectorize kernel calls Darrick J. Wong
2024-06-18 0:53 ` [PATCH 1/1] xfs/122: update for vectored scrub Darrick J. Wong
2024-06-19 6:21 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2024-06-20 20:53 [PATCHSET v30.7 5/6] xfs_scrub: vectorize kernel calls Darrick J. Wong
2024-06-20 21:00 ` [PATCH 1/1] xfs/122: update for vectored scrub 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
2022-12-30 22:21 [PATCHSET 0/1] xfs_scrub: vectorize kernel calls Darrick J. Wong
2022-12-30 22:21 ` [PATCH 1/1] xfs/122: update for vectored scrub 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