public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix input value to _scratch_mkfs_sized
@ 2022-06-27 14:08 An Long
  2022-06-27 14:08 ` [PATCH 1/2] common/config: add _check_mkfs_block_options An Long
  2022-06-27 14:08 ` [PATCH 2/2] common/rc: fix input value to _scratch_mkfs_sized An Long
  0 siblings, 2 replies; 3+ messages in thread
From: An Long @ 2022-06-27 14:08 UTC (permalink / raw)
  To: fstests; +Cc: An Long

Function _scratch_mkfs_sized cannot recognize the size descriptor.

For example, we set MKFS_OPTIONS="-b 4k" and then run generic/416 on
ext4, will fail with "mkfs.ext4: invalid block size - 4".

The [PATCH 2/2] based on [PATCH 1/2].

Full story is here:
https://lore.kernel.org/fstests/Yre%2F9qV62dtVyCvn@mit.edu/T/#t
https://lore.kernel.org/fstests/20220621044038.ppvdexgob3kzs46m@zlang-mailbox/T/#t

An Long (2):
  common/config: add _check_mkfs_block_options
  common/rc: fix input value to _scratch_mkfs_sized

 README        |  4 ++++
 common/config | 30 ++++++++++++++++++++++++++++++
 common/rc     | 16 +---------------
 3 files changed, 35 insertions(+), 15 deletions(-)


base-commit: 568ac9fffeb6afec03e5d6c9936617232fd7fc6d
-- 
2.35.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-27 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-27 14:08 [PATCH 0/2] Fix input value to _scratch_mkfs_sized An Long
2022-06-27 14:08 ` [PATCH 1/2] common/config: add _check_mkfs_block_options An Long
2022-06-27 14:08 ` [PATCH 2/2] common/rc: fix input value to _scratch_mkfs_sized An Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox