[PATCHv2 4/4] test: extend sysfs tree dump test

Daniel Wagner dwagner at suse.de
Tue Apr 22 03:09:04 PDT 2025


On Tue, Apr 22, 2025 at 08:28:48AM +0200, Hannes Reinecke wrote:
> Not a big fan of having tar.gz files in git. Can't we create it on the
> fly and only store text files?

Creating is not really an option, we could just store test data in the
tree directly. I don't expect that the size of the repo is increasing a
lot as the objects in git are also compressed. My main concern is that
we have a lot of new files:

$ tar tf config-pcie.tar.xz
sys/class/nvme/
sys/class/nvme/nvme1
sys/class/nvme/nvme0
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/uevent
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/cntlid
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/address
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/uevent
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/ext_range
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/metadata_bytes
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/range
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/alignment_offset
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/diskseq
sys/devices/pci0000:00/0000:00:06.0/0000:0f:00.0/nvme/nvme0/nvme0c0n1/power/
[...]

Currently there are three tar.xz files. If the general mood is that
there shouldn't be any tar.xz files around, I am fine to get rid of them.



More information about the Linux-nvme mailing list