aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_null.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2023-08-26 09:32:32 +0000
committerDoug Rabson <dfr@FreeBSD.org>2023-08-26 11:08:37 +0000
commitb5c4616582cebdcf4dee909a3c2f5b113c4ae59e (patch)
tree0424c54734c48b11682b9995e310dc4e258412f8 /sys/dev/netmap/netmap_null.c
parent8ed0ecf8024d10e9cd21f5880723a6cec4fd4ae6 (diff)
Fix MNT_IGNORE for devfs, fdescfs and nullfs
The MNT_IGNORE flag can be used to mark certain filesystem mounts so that utilities such as df(1) and mount(8) can filter out those mounts by default. This can be used, for instance, to reduce the noise from running container workloads inside jails which often have at least three and sometimes as many as ten mounts per container. The flag is supplied by the nmount(2) system call and is recorded so that it can be reported by statfs(2). Unfortunately several filesystems override the default behaviour and mask out the flag, defeating its purpose. This change preserves the MNT_IGNORE flag for those filesystems so that it can be reported correctly. MFC after: 1 week
Diffstat (limited to 'sys/dev/netmap/netmap_null.c')
0 files changed, 0 insertions, 0 deletions