Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/sys/dev



Module Name:    src
Committed By:   snj
Date:           Wed Feb  4 04:18:23 UTC 2015

Modified Files:
        src/sys/dev [netbsd-6]: vnd.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1242):
        sys/dev/vnd.c: revision 1.240, 1.241
As discussed in
http://mail-index.netbsd.org/tech-kern/2015/01/24/msg018339.html
don't bump v_numoutput if we need to vn_lock() the vnode before queuing
the corresponding I/O, because this may deadlock with genfs_do_putpages()
when called with the vnode locked (as can happen with fsync(2)).
Instead bump is just before the last VOP_STRATEGY(), or before calling
nestiobuf_done().
Thanks to Taylor R Campbell for review.
--
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.219.8.2 -r1.219.8.3 src/sys/dev/vnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index