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:
Pedro F. Giffuni 2015-05-28 21:06:59 +00:00
parent c913390df3
commit e54a659a26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283669

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,