softdep as a mount(8) option

Kirk McKusick mckusick at mckusick.com
Sun Oct 29 18:28:25 UTC 2017


Your patch will require some additional work now that we have
journalled soft updates. The issue is that when journalled
soft updates are in use, the FS_DOSOFTDEP flag will be set for
the filesystem as it is a prerequisite for journalling. If you
turn off the FS_DOSOFTDEP flag while journalling is enabled
very bad things will happen (hopefully just a kernel panic and
not irrecoverable filesystem state). So, additional changes are
needed to check for the FS_SUJ flag being set, and if it is, to
disallow the disabling of the FS_DOSOFTDEP flag by the mount of
the filesystem.

	Kirk McKusick


More information about the freebsd-fs mailing list