Unbreak detection of the async mode for clustered writes after r231075.
Submitted by: bde MFC after: 12 days
This commit is contained in:
parent
afdbac98df
commit
9cfb2326bc
@ -604,7 +604,7 @@ cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount)
|
||||
int async;
|
||||
|
||||
if (vp->v_type == VREG) {
|
||||
async = vp->v_mount->mnt_kern_flag & MNTK_ASYNC;
|
||||
async = DOINGASYNC(vp);
|
||||
lblocksize = vp->v_mount->mnt_stat.f_iosize;
|
||||
} else {
|
||||
async = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user