HomeFreeBSD

Within ufs, the ffs_sync and ffs_fsync functions did not always
rS105902Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Within ufs, the ffs_sync and ffs_fsync functions did not always
check for and/or report I/O errors. The result is that a VFS_SYNC
or VOP_FSYNC called with MNT_WAIT could loop infinitely on ufs in
the presence of a hard error writing a disk sector or in a filesystem
full condition. This patch ensures that I/O errors will always be
checked and returned. This patch also ensures that every call to
VFS_SYNC or VOP_FSYNC with MNT_WAIT set checks for and takes
appropriate action when an error is returned.

Sponsored by: DARPA & NAI Labs.

Details

Provenance
mckusickAuthored on
Parents
rS105901: fix typo.
Branches
Unknown
Tags
Unknown

Event Timeline