History log of /freebsd-10-stable/sys/ufs/ffs/ffs_vnops.c
Revision Date Author Comments
# 284201 10-Jun-2015 kib

MFC r283968:
Syncing a directory vnode might drop the vnode lock in the
softdep_sync() similarly to the regular vnode sync. Allow retry for
both vnode types.


# 284021 05-Jun-2015 kib

MFC r283735:
Remove several write-only variables.


# 273255 18-Oct-2014 kib

MFC r272952:
Do not set IN_ACCESS flag for read-only mounts.


# 264491 15-Apr-2014 scottl

MFC r262814

- If we fail to do a non-blocking acquire of a buf lock while doing a
waiting sync pass we need to do a blocking acquire and restart.
Another thread, typically the buf daemon, may have this buf locked and
if we don't wait we can fail to sync the file. This lead to a great
variety of softdep panics because we rely on all dependencies being
flushed before proceeding in several cases.

Submitted by: jeffr


# 262779 05-Mar-2014 pfg

MFC r262678;
ufs: small formatting fixes.

Cleanup some extra space.
Use of tabs vs. spaces.
No functional change.

Reviewed by: mckusick


# 259223 11-Dec-2013 pfg

MFC r256448, r257029;

Make di_blocks unsigned in UFS1 as is the case already for UFS2.
Most of the code between UFS1 and UFS2 is shared so this change
is pretty safe. Not only this makes UFS1 and 2 consistent but it
also matches what NetBSD and MacOS X have for some years now.

UFS2: make di_extsize unsigned.
di_extsize is the EA size and as such it should be unsigned.
Adjust related types for consistency.

Reviewed by: mckusick


# 284201 10-Jun-2015 kib

MFC r283968:
Syncing a directory vnode might drop the vnode lock in the
softdep_sync() similarly to the regular vnode sync. Allow retry for
both vnode types.


# 284021 05-Jun-2015 kib

MFC r283735:
Remove several write-only variables.


# 273255 18-Oct-2014 kib

MFC r272952:
Do not set IN_ACCESS flag for read-only mounts.


# 264491 15-Apr-2014 scottl

MFC r262814

- If we fail to do a non-blocking acquire of a buf lock while doing a
waiting sync pass we need to do a blocking acquire and restart.
Another thread, typically the buf daemon, may have this buf locked and
if we don't wait we can fail to sync the file. This lead to a great
variety of softdep panics because we rely on all dependencies being
flushed before proceeding in several cases.

Submitted by: jeffr


# 262779 05-Mar-2014 pfg

MFC r262678;
ufs: small formatting fixes.

Cleanup some extra space.
Use of tabs vs. spaces.
No functional change.

Reviewed by: mckusick


# 259223 11-Dec-2013 pfg

MFC r256448, r257029;

Make di_blocks unsigned in UFS1 as is the case already for UFS2.
Most of the code between UFS1 and UFS2 is shared so this change
is pretty safe. Not only this makes UFS1 and 2 consistent but it
also matches what NetBSD and MacOS X have for some years now.

UFS2: make di_extsize unsigned.
di_extsize is the EA size and as such it should be unsigned.
Adjust related types for consistency.

Reviewed by: mckusick