public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests] README: add dependent command descriptions
@ 2024-06-04  0:42 Shin'ichiro Kawasaki
  2024-06-04  1:23 ` Chaitanya Kulkarni
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shin'ichiro Kawasaki @ 2024-06-04  0:42 UTC (permalink / raw)
  To: linux-block; +Cc: Shin'ichiro Kawasaki

Even though many test cases assume the availability of the systemd-udev
service and the udevadm command, this dependency is not described. Add
it to the dependency list. Also add optional dependencies to other
commands: mkfs.f2fs, mkfs.btrfs, nvme, nbd-client and nbd-server.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 README.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 09fbb1e..55227d9 100644
--- a/README.md
+++ b/README.md
@@ -19,12 +19,15 @@ The dependencies are minimal, but make sure you have them installed:
 - fio
 - gcc
 - make
+- systemd-udev (udevadm)
 
 Some tests require the following:
 
-- e2fsprogs and xfsprogs
+- e2fsprogs, xfsprogs, f2fs-tools and btrfs-progs
+- nvme-cli
 - multipath-tools (Debian, openSUSE, Arch Linux) or device-mapper-multipath
   (Fedora)
+- nbd-client and nbd-server (Debian) or nbd (Fedora, openSUSE, Arch Linux)
 - dmsetup (Debian) or device-mapper (Fedora, openSUSE, Arch Linux)
 - rublk (`cargo install --version=^0.1 rublk`) for ublk test
 
-- 
2.45.0


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

* Re: [PATCH blktests] README: add dependent command descriptions
  2024-06-04  0:42 [PATCH blktests] README: add dependent command descriptions Shin'ichiro Kawasaki
@ 2024-06-04  1:23 ` Chaitanya Kulkarni
  2024-06-04  4:46 ` Christoph Hellwig
  2024-06-07  5:00 ` Shinichiro Kawasaki
  2 siblings, 0 replies; 5+ messages in thread
From: Chaitanya Kulkarni @ 2024-06-04  1:23 UTC (permalink / raw)
  To: Shin'ichiro Kawasaki, linux-block@vger.kernel.org

On 6/3/24 17:42, Shin'ichiro Kawasaki wrote:
> Even though many test cases assume the availability of the systemd-udev
> service and the udevadm command, this dependency is not described. Add
> it to the dependency list. Also add optional dependencies to other
> commands: mkfs.f2fs, mkfs.btrfs, nvme, nbd-client and nbd-server.
>
> Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki@wdc.com>

Thanks a lot, looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck



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

* Re: [PATCH blktests] README: add dependent command descriptions
  2024-06-04  0:42 [PATCH blktests] README: add dependent command descriptions Shin'ichiro Kawasaki
  2024-06-04  1:23 ` Chaitanya Kulkarni
@ 2024-06-04  4:46 ` Christoph Hellwig
  2024-06-05  4:14   ` Shinichiro Kawasaki
  2024-06-07  5:00 ` Shinichiro Kawasaki
  2 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2024-06-04  4:46 UTC (permalink / raw)
  To: Shin'ichiro Kawasaki; +Cc: linux-block

On Tue, Jun 04, 2024 at 09:42:41AM +0900, Shin'ichiro Kawasaki wrote:
> Even though many test cases assume the availability of the systemd-udev
> service and the udevadm command, this dependency is not described. Add
> it to the dependency list. Also add optional dependencies to other
> commands: mkfs.f2fs, mkfs.btrfs, nvme, nbd-client and nbd-server.

Should something check that they are present and warn if not?


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

* Re: [PATCH blktests] README: add dependent command descriptions
  2024-06-04  4:46 ` Christoph Hellwig
@ 2024-06-05  4:14   ` Shinichiro Kawasaki
  0 siblings, 0 replies; 5+ messages in thread
From: Shinichiro Kawasaki @ 2024-06-05  4:14 UTC (permalink / raw)
  To: hch@infradead.org; +Cc: linux-block@vger.kernel.org

On Jun 03, 2024 / 21:46, Christoph Hellwig wrote:
> On Tue, Jun 04, 2024 at 09:42:41AM +0900, Shin'ichiro Kawasaki wrote:
> > Even though many test cases assume the availability of the systemd-udev
> > service and the udevadm command, this dependency is not described. Add
> > it to the dependency list. Also add optional dependencies to other
> > commands: mkfs.f2fs, mkfs.btrfs, nvme, nbd-client and nbd-server.
> 
> Should something check that they are present and warn if not?

Yes, that will be helpful. Will create another patch for it.

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

* Re: [PATCH blktests] README: add dependent command descriptions
  2024-06-04  0:42 [PATCH blktests] README: add dependent command descriptions Shin'ichiro Kawasaki
  2024-06-04  1:23 ` Chaitanya Kulkarni
  2024-06-04  4:46 ` Christoph Hellwig
@ 2024-06-07  5:00 ` Shinichiro Kawasaki
  2 siblings, 0 replies; 5+ messages in thread
From: Shinichiro Kawasaki @ 2024-06-07  5:00 UTC (permalink / raw)
  To: linux-block@vger.kernel.org

On Jun 04, 2024 / 09:42, Shin'ichiro Kawasaki wrote:
> Even though many test cases assume the availability of the systemd-udev
> service and the udevadm command, this dependency is not described. Add
> it to the dependency list. Also add optional dependencies to other
> commands: mkfs.f2fs, mkfs.btrfs, nvme, nbd-client and nbd-server.
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>

FYI, I've applied the patch. A follow-up patch is posted per review comment:

    https://lore.kernel.org/linux-block/20240607045246.248590-1-shinichiro.kawasaki@wdc.com/

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

end of thread, other threads:[~2024-06-07  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04  0:42 [PATCH blktests] README: add dependent command descriptions Shin'ichiro Kawasaki
2024-06-04  1:23 ` Chaitanya Kulkarni
2024-06-04  4:46 ` Christoph Hellwig
2024-06-05  4:14   ` Shinichiro Kawasaki
2024-06-07  5:00 ` Shinichiro Kawasaki

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