Don't attempt to cluster write buffers where the VMIO flag isn't set.
This commit is contained in:
parent
cd085280b5
commit
e5c5b82950
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68868
@ -716,7 +716,8 @@ cluster_wbuild(vp, size, start_lbn, len)
|
||||
* up if the cluster was terminated prematurely--too much
|
||||
* hassle.
|
||||
*/
|
||||
if (((tbp->b_flags & (B_CLUSTEROK|B_MALLOC)) != B_CLUSTEROK) ||
|
||||
if (((tbp->b_flags & (B_CLUSTEROK | B_MALLOC | B_VMIO)) !=
|
||||
(B_CLUSTEROK | B_VMIO)) ||
|
||||
(tbp->b_bcount != tbp->b_bufsize) ||
|
||||
(tbp->b_bcount != size) ||
|
||||
(len == 1) ||
|
||||
|
Loading…
Reference in New Issue
Block a user