freebsd-dev/sys/ufs/ffs
Warner Losh 06753bd3f9 Use buf + strategy rather than bypassing geom_vfs layer
The reference counting that's done in the geom_vfs layer to prevent
delivery of requests to defunct devices only works if all requests go
through that layer. UFS was bypassing that layer for BIO_DELETE requests,
sending them to the geom_consumer directly with g_io_request. Allocate
a buf, fill it in, and call strategy on it instead.

Submitted by: Chuck Silvers
Reviewed by: scottl, imp, kirk
Sponsored by: Netflix
Differential: https://reviews.freebsd.org/D15456
2018-06-26 00:39:38 +00:00
..
ffs_alloc.c Use buf + strategy rather than bypassing geom_vfs layer 2018-06-26 00:39:38 +00:00
ffs_balloc.c SPDX: Complete License ID tags for UFS. 2017-12-27 19:13:50 +00:00
ffs_extern.h Refactoring of reading and writing of the UFS/FFS superblock. 2018-01-26 00:58:32 +00:00
ffs_inode.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_rawread.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ffs_snapshot.c Revert r327781, r328093, r328056: 2018-01-24 16:44:57 +00:00
ffs_softdep.c Fix warning found by Coverity. 2018-05-16 23:42:02 +00:00
ffs_subr.c This change is some refactoring of Mark Johnston's changes in r329375 2018-03-02 04:34:53 +00:00
ffs_suspend.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ffs_tables.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_vfsops.c This change is some refactoring of Mark Johnston's changes in r329375 2018-03-02 04:34:53 +00:00
ffs_vnops.c Detect and optimize reads from the hole on UFS. 2018-05-13 09:47:28 +00:00
fs.h The goal of this change is to prevent accidental foot shooting by 2018-02-08 23:06:58 +00:00
softdep.h Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00