summaryrefslogtreecommitdiffstats
path: root/usr.bin/du
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2006-05-06 20:51:31 +0000
committertegge <tegge@FreeBSD.org>2006-05-06 20:51:31 +0000
commitd79b4cb4753523aa7f2394b74deffe49e0f0eff4 (patch)
tree61d0b9838aac78b049052fd0625b8fd92b884f4f /usr.bin/du
parenta75e2eb7ff3c599a450406736b161660ed1204cb (diff)
downloadFreeBSD-src-d79b4cb4753523aa7f2394b74deffe49e0f0eff4.zip
FreeBSD-src-d79b4cb4753523aa7f2394b74deffe49e0f0eff4.tar.gz
ffs_syncvnode() might skip some of the blocks due to them being locked,
assuming them to be inflight write buffers. This is not always the case. bufdaemon might hold the buffer lock and give up writing the buffer due to it having dependencies, the file system being suspended or the vnode lock being held by another thread. When bufdaemon decides to write the buffer there is still a window before bufobj_wref() has been called, allowing other threads to believe that the vnode has no dirty buffers or inflight writes. Try harder to flush first block of new subdirectory to get rid of MKDIR_BODY dependency.
Diffstat (limited to 'usr.bin/du')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud