opnsense-src/sys/fs
Mark Johnston a0895e394d tarfs: Implement VOP_BMAP
This lets tarfs provide readahead/behind hints to the VFS, which helps
memory-mapped I/O performance, important when running faulting in
executables out of a tarfs mount as one might if tarfs is used to back
the root filesystem, for example.  The improvement is particularly
noticeable when the backing tarball is zstd-compressed.

The implementation simply returns the extent of the virtual block
containing the target offset, clamped by the maximum I/O size.  This is
perhaps simplistic; it effectively just chooses values that would
correspond to a single VOP_READ call in tarfs_read_file().

Reviewed by:	des, kib
MFC after:	1 month
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D44626
2024-04-05 11:14:36 -04:00
..
autofs sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cd9660 cd9660: Add support for mask,dirmask,uid,gid options 2024-01-12 14:51:31 -08:00
cuse sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
deadfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
devfs cdevpriv(9): add iterator 2024-03-23 08:59:00 +02:00
ext2fs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fdescfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fifofs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fuse fusefs: correct a comment 2024-04-04 14:18:56 -06:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs fs/msdosfs fatblock: use ulmin() rather than min() 2024-02-23 19:37:52 +02:00
nfs nfscl: Only update atime for Copy when noatime is not specified 2024-01-11 16:38:33 -08:00
nfsclient ncl_bioread(): check for vp->v_object before accessing it 2024-01-15 17:19:58 +02:00
nfsserver nfsd: Add a sysctl to limit NFSv4.2 Copy RPC size 2024-03-15 18:04:37 -07:00
nullfs nullfs_mount(): fix whitespace 2024-03-08 20:51:39 +02:00
procfs procfs: Add self & exe symlinks like NetBSD does 2024-02-02 18:34:59 -07:00
pseudofs pseudofs: fix off by one in hash iteration in pfs_purge 2023-11-20 05:57:25 +00:00
smbfs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
tarfs tarfs: Implement VOP_BMAP 2024-04-05 11:14:36 -04:00
tmpfs tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround 2024-01-23 12:46:31 -06:00
udf sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
unionfs unionfs: implement VOP_UNP_* and remove special VSOCK vnode handling 2024-03-23 21:10:53 -05:00