]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_io: extract control number parsing routines
authorDarrick J. Wong <djwong@kernel.org>
Wed, 20 Dec 2023 16:53:46 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Dec 2023 02:29:14 +0000 (18:29 -0800)
commit99a0612bd5548c2cb0961e2eb1ed13d015f9cb9d
treeebe9659884fe4a0ec2f59f0b235f90bc6c85c6bb
parent4c91ffcfa2f7d35dfb00fc4c10332e8519923639
xfs_io: extract control number parsing routines

Break out the parts of parse_args that extract control numbers from the
CLI arguments, so that the function isn't as long.  This isn't all that
exciting now, but the scrub vectorization speedups will introduce a new
ioctl.  For the new command that comes with that, we'll want the control
number parsing helpers.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io/scrub.c