[Bug 213507] [msdosfs]: Prevent occasional directory corruption while extending it to another cluster
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 17 08:29:56 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213507
--- Comment #19 from Damjan Jovanovic <damjan.jov at gmail.com> ---
I am still doing my test.
That isn't the only vfs_bio_clrbuf() in msdosfs. IMHO we really should "find
all the incomplete brelse() calls".
How do "incomplete brelse() calls" work? What is the general rule? According to
that UFS patch it seems to be: a buf's b_data can only be changed if you
subsequently bwrite() it, or brelse() it with b_flags containing B_INVAL |
B_RELBUF | B_NOCACHE and not containing B_ASYNC | B_CACHE. If bwrite() fails
you must brelse() the buf with those flags instead. Is that right?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list