mirror_zfs/tests/zfs-tests
Rob Norris 1956417b54 mmap_seek: print error code and text on failure
If lseek() returns an unexpected error, it's useful to know the error
code to help connect it to the trouble spot inside the module.

Since the two seek functions should be basically identical, lift them
into a single generic function.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Robert Evans <evansr@google.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #17843
2025-10-21 09:50:43 -07:00
..
callbacks ZTS: include microsecond timestamps on all output 2025-08-06 09:44:49 -07:00
cmd mmap_seek: print error code and text on failure 2025-10-21 09:50:43 -07:00
include ZTS: default to random data in fill_fs 2025-09-15 12:43:52 -07:00
tests zpool_reopen_004_pos: Clear label from offline disk after destroy 2025-10-21 09:50:43 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00