The following reply was made to PR kern/176636; it has been noted by GNATS.

From: Andriy Gapon <a...@freebsd.org>
To: bug-follo...@freebsd.org, free...@gal.dk
Cc:  
Subject: Re: kern/176636: Periodical crashes with 9.1-R
Date: Tue, 05 Mar 2013 12:55:22 +0200

 Please try the following patch.
 
 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
 +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
 @@ -543,7 +543,9 @@ mappedread_sf(vnode_t *vp, int nbytes, uio_t *uio)
                        vm_page_io_finish(pp);
                        vm_page_lock(pp);
                        if (error) {
 -                              vm_page_free(pp);
 +                              if (pp->wire_count == 0 && pp->valid == 0 &&
 +                                  pp->busy == 0 && !(pp->oflags & VPO_BUSY))
 +                                      vm_page_free(pp);
                        } else {
                                pp->valid = VM_PAGE_BITS_ALL;
                                vm_page_activate(pp);
 
 Additionally, if possible, I would like to see the following information from
 "Crash 3":
 - value of 'pg' in kern_sendfile frame
 - output of 'info reg' command in zfs_freebsd_read frame
 
 Thank you.
 -- 
 Andriy Gapon
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to