Re: [blktests] zbd/009 fails due to "No space left on device"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zhijian
Seems it's one btfs issue, you can find more here:

https://github.com/osandov/blktests/issues/150

On Tue, Dec 3, 2024 at 8:58 AM Zhijian Li (Fujitsu)
<lizhijian@xxxxxxxxxxx> wrote:
>
> Hey all,
>
> This case always fails on my environment Fefora40 + upstream kernel 6.13.0-rc1+(6.12-rcx also failed)
>
> It can be resolved if I enlarge the block device size to 2GiB(1.5GiB also failed).
> $ git diff
> diff --git a/tests/zbd/009 b/tests/zbd/009
> index 6226d83..11bcafb 100755
> --- a/tests/zbd/009
> +++ b/tests/zbd/009
> @@ -44,7 +44,7 @@ test() {
>
>          local params=(
>                  delay=0
> -               dev_size_mb=1024
> +               dev_size_mb=2048
>                  sector_size=4096
>                  zbc=host-managed
>                  zone_cap_mb=3
>
>
> I have no idea why we need to enlarge the block size while the FIO only run with size '1M' in this case.
> If you want more details, feel free to let me know.
>
> ==================
>
> $ ./check zbd/009
> zbd/009 (test gap zone support with BTRFS)                   [failed]
>      runtime    ...  6.234s
>      --- tests/zbd/009.out      2022-10-11 10:59:29.796928869 +0800
>      +++ /home/lizhijian/blktests/results/nodev/zbd/009.out.bad 2024-12-03 08:46:29.118932788 +0800
>      @@ -1,2 +1,2 @@
>       Running zbd/009
>      -Test complete
>      +Test failed
>
>
> $ cat /home/lizhijian/blktests/results/nodev/zbd/009.full
> btrfs-progs v6.8
> See https://btrfs.readthedocs.io for more information.
>
> Resetting device zones /dev/sdb (256 zones) ...
> NOTE: several default settings have changed in version 5.15, please make sure
>        this does not affect your deployments:
>        - DUP for metadata (-m dup)
>        - enabled no-holes (-O no-holes)
>        - enabled free-space-tree (-R free-space-tree)
>
> Label:              (null)
> UUID:               63a9f0ee-7f88-4696-b705-3ebb0e2ac6e2
> Node size:          16384
> Sector size:        4096        (CPU page size: 4096)
> Filesystem size:    1.00GiB
> Block group profiles:
>    Data:             single            4.00MiB
>    Metadata:         DUP               4.00MiB
>    System:           DUP               4.00MiB
> SSD detected:       yes
> Zoned device:       yes
>    Zone size:        4.00MiB
> Features:           extref, skinny-metadata, no-holes, free-space-tree, zoned
> Checksum:           crc32c
> Number of devices:  1
> Devices:
>     ID        SIZE  ZONES  PATH
>      1     1.00GiB    256  /dev/sdb
>
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=1024000, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=905216, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=688128, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=540672, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=630784, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=1028096, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=12288, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=233472, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=339968, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=876544, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=704512, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=589824, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=995328, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=397312, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=16384, buflen=4096
> fio: io_u error on file /home/lizhijian/blktests/results/tmpdir.zbd.009.1IJ/mnt/verify.0.0: No space left on device: write offset=782336, buflen=4096
> fio exited with status 1
> fio: verification read phase will never start because write phase uses all of runtime
> 4;fio-3.36;verify;0;28;700416;364610;91152;1921;3;110;9.283027;2.078678;2;1234;159.304360;28.925367;1.000000%=23;5.000000%=112;10.000000%=150;20.000000%=156;30.000000%=156;40.000000%=158;50.000000%=160;60.000000%=162;70.000000%=168;80.000000%=173;90.000000%=181;95.000000%=185;99.000000%=205;99.500000%=220;99.900000%=259;99.950000%=276;99.990000%=428;0%=0;0%=0;0%=0;10;1243;168.587388;28.998837;0;0;0.000000%;0.000000;0.000000;700416;191789;47951;3652;4;5023;17.928978;27.794189;1;5446;303.143928;124.069601;1.000000%=59;5.000000%=124;10.000000%=150;20.000000%=199;30.000000%=242;40.000000%=280;50.000000%=301;60.000000%=325;70.000000%=358;80.000000%=391;90.000000%=444;95.000000%=489;99.000000%=602;99.500000%=675;99.900000%=798;99.950000%=872;99.990000%=1011;0%=0;0%=0;0%=0;17;5452;321.055559;125.717726;110376;133120;65.710471%;126025.454545;6491.718607;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;15.679943%;47.560100%;282053;0;30;0.4%;0.8%;1.6%;3.1%;94.1%;0.0%;0.0%;0.08%;0.21%;0.01%;0.20%;0.87%;1.69%;62.65%;32.17%;2.02%;0.09%;0.01%;0.00%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
>
> Thanks
> Zhijian



-- 
Best Regards,
  Yi Zhang






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux