if (filechunk > (size_t)(end - offset))
filechunk = (size_t)(end - offset);
error = VNOP_BLOCKMAP(ref->vp, offset, filechunk, &blkno,
- &filechunk, NULL, VNODE_WRITE, NULL);
+ &filechunk, NULL, VNODE_WRITE | VNODE_BLOCKMAP_NO_TRACK, NULL);
if (error) break;
if (-1LL == blkno) continue;
fileblk = blkno * ref->blksize;
daddr64_t blkno;
error = VNOP_BLOCKMAP(ref->vp, f_offset, filechunk, &blkno,
- &filechunk, NULL, VNODE_WRITE, NULL);
+ &filechunk, NULL, VNODE_WRITE | VNODE_BLOCKMAP_NO_TRACK, NULL);
if (error) goto out;
if (-1LL == blkno) continue;
fileblk = blkno * ref->blksize;