Provide VOP_GETPAGES_ASYNC() for extfs.

Merge the filesystem specific part from r274914 to ext2fs.

I only did regular testing with the change but UFS and our ext2fs
are similar enough that the code should just work with the new
sendfile.

Discussed with:	glebius
This commit is contained in:
pfg 2015-05-28 21:06:59 +00:00
parent 0de1f8c7b5
commit dce46f4095

View File

@ -128,6 +128,7 @@ struct vop_vector ext2_vnodeops = {
.vop_create = ext2_create,
.vop_fsync = ext2_fsync,
.vop_getpages = vnode_pager_local_getpages,
.vop_getpages_async = vnode_pager_local_getpages_async,
.vop_getattr = ext2_getattr,
.vop_inactive = ext2_inactive,
.vop_ioctl = ext2_ioctl,