Message ID | 1438236489-24747-1-git-send-email-yangds.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jul 30, 2015 at 02:08:09PM +0800, Dongsheng Yang wrote: > We want to check the size of scratch with _require_fs_space, > but we have to mount it firstly. > > Reported-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> > Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Reviewed-by: Eryu Guan <eguan@redhat.com> > --- > tests/generic/038 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/generic/038 b/tests/generic/038 > index 7bfebfc..4d108cf 100755 > --- a/tests/generic/038 > +++ b/tests/generic/038 > @@ -121,8 +121,8 @@ create_files() > } > > _scratch_mkfs >>$seqres.full 2>&1 > -_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) > _scratch_mount > +_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) > _require_batched_discard $SCRATCH_MNT > > for ((i = 0; i < $((4 * $LOAD_FACTOR)); i++)); do > -- > 1.8.4.2 > > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/tests/generic/038 b/tests/generic/038 index 7bfebfc..4d108cf 100755 --- a/tests/generic/038 +++ b/tests/generic/038 @@ -121,8 +121,8 @@ create_files() } _scratch_mkfs >>$seqres.full 2>&1 -_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _scratch_mount +_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _require_batched_discard $SCRATCH_MNT for ((i = 0; i < $((4 * $LOAD_FACTOR)); i++)); do
We want to check the size of scratch with _require_fs_space, but we have to mount it firstly. Reported-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> --- tests/generic/038 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)