HomeFreeBSD

ZTS: add mount_loopback to test zfs behind loop dev

Description

ZTS: add mount_loopback to test zfs behind loop dev

Add a test case to reproduce issue #17277:

  1. Make a pool
  2. Write a file to the pool
  3. Mount the file as a loopback device
  4. Make an XFS filesystem on the loopback device
  5. Mount the XFS filesystem... <hangs>

Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Issue #17277
Closes #17329

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Aug 25 2025, 6:20 PM
GitHub <noreply@github.com>Committed on Aug 25 2025, 6:20 PM
Parents
rG0d54ae2880cf: zdb: Fix format strings on 32-bit systems
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGd247538e15bb: ZTS: add mount_loopback to test zfs behind loop dev (authored by Tony Hutter <hutter2@llnl.gov>).Aug 25 2025, 6:20 PM