Displaying 1 result from an estimated 1 matches for "spa_mindevsize".
2006 Dec 18
1
zfs/fstyp slows down recognizing pcfs formatted floppies
...atches)
0.01u 0.04s 0:36.27 0.1%
x86, snv_53, with tamarack:
% time /usr/lib/fs/zfs/fstyp /dev/rdiskette
unknown_fstyp (no matches)
0.00u 0.01s 0:35.25 0.0%
(the rest of the time is wasted probing for an udfs filesystem)
Isn''t the minimum device size required for a zfs pool 64 mbytes?
(SPA_MINDEVSIZE, from the sys/fs/zfs.h header)
Shouldn''t zfs/fstyp skip probing for zfs / zpools on small capacity
devices like a floppy media, that are less than this 64 mbytes ?
diff -r 367766133bfe usr/src/cmd/fs.d/zfs/fstyp/fstyp.c
--- a/usr/src/cmd/fs.d/zfs/fstyp/fstyp.c Fri Dec 15 09:03:53...