mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
09f11da5a3
requiring locked bufs in vfs_bio_awrite(). Previously the buf could have been written out by fsync before we acquired the buf lock if it weren't for giant. The cluster_wbuild() handles this race properly but the single write at the end of vfs_bio_awrite() would not. - Modify flushbufqueues() so there is only one copy of the loop. Pass a parameter in that says whether or not we should sync bufs with deps. - Call flushbufqueues() a second time and then break if we couldn't find any bufs without deps. |
||
---|---|---|
.. | ||
ffs | ||
ufs |