freebsd-src/sys/ufs/ffs
Chuck Silvers f1b4324b81 ffs: fix vn_read_from_obj() usage for PAGE_SIZE > block size
vn_read_from_obj() requires that all pages of a vnode (except the last
partial page) be either completely valid or completely invalid,
but for file systems with block size smaller than PAGE_SIZE,
partially valid pages may exist anywhere in the file.
Do not enable the vn_read_from_obj() path in this case.

Reviewed by:	mckusick, kib, markj
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D34836
2022-06-22 14:57:29 -07:00
..
ffs_alloc.c ffs(3): Fix a common typo in source code comments 2022-03-28 19:37:03 +02:00
ffs_balloc.c ffs: lock buffers after snaplk with LK_NOWITNESS 2022-02-01 06:54:50 +02:00
ffs_extern.h Consolodate four copies of the STDSB define into a single place. 2021-11-14 22:10:16 -08:00
ffs_inode.c ufs: be more persistent with finishing some operations 2022-01-31 04:46:21 +02:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
ffs_softdep.c ffs: plug a set-but-not-used var 2022-04-19 16:51:12 +02:00
ffs_subr.c Bug fix to UFS/FFS superblock integrity checks when reading a superblock. 2022-06-11 11:05:14 -07:00
ffs_suspend.c ffs: remove unused thread argument from ffs_reload() 2021-09-04 12:25:10 -08:00
ffs_tables.c
ffs_vfsops.c ffs: fix vn_read_from_obj() usage for PAGE_SIZE > block size 2022-06-22 14:57:29 -07:00
ffs_vnops.c ffs: fix vn_io_fault_pgmove() offset for PAGE_SIZE > block size 2022-06-21 17:54:18 -07:00
fs.h Add ability to suppress UFS/FFS superblock check-hash failure messages. 2021-11-15 09:11:54 -08:00
softdep.h Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00