Thread (8 messages) 8 messages, 3 authors, 2021-03-10

Re: [WIP] [RFC PATCH] xfs: add test on shrinking unused space in the last AG

From: Gao Xiang <hidden>
Date: 2021-03-10 02:34:44
Also in: linux-xfs

Hi Darrick,

On Tue, Mar 09, 2021 at 06:09:47PM -0800, Darrick J. Wong wrote:

...
quoted
As Darrick has reviewed, I have one more question. Looks like we can shrink a
mounted xfs via giving a smaller size to xfs_growfs.

If xfs_growfs or kernel doesn't support 'shrink', I think the whole test will
be failed. So maybe we need a _require_* function to check if current xfs
support shrinking feature at first?
Also, it's time to send the xfs_growfs patches to the list so I can
replicate the tests on my own test vms.
There was a preliminary version of xfsprogs sent out before to
match this version:
https://lore.kernel.org/r/20201028114010.545331-1-hsiangkao@redhat.com (local)
https://lore.kernel.org/linux-xfs/20201028114010.545331-1-hsiangkao@redhat.com/raw (local)

This added a EXPERIMENTAL warning but without a new argument
for shrinking.

Thanks,
Gao Xiang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help