]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r233100:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 31 Mar 2012 06:44:48 +0000 (06:44 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 31 Mar 2012 06:44:48 +0000 (06:44 +0000)
commitc4b662f742985338a1c6b3fae2b16acd124b1ba0
treebbb1501d46d8374515cb7f2ae96e6150ea27d4c8
parentabd48dedb429cf9ce81f731ecc1eb6bd196d2f74
MFC r233100:
In vm_object_page_clean(), do not clean OBJ_MIGHTBEDIRTY object flag
if the filesystem performed short write and we are skipping the page
due to this.

Propogate write error from the pager back to the callers of
vm_pageout_flush().  Report the failure to write a page from the
requested range as the FALSE return value from vm_object_page_clean(),
and propagate it back to msync(2) to return EIO to usermode.

While there, convert the clearobjflags variable in the
vm_object_page_clean() and arguments of the helper functions to
boolean.

PR: kern/165927

git-svn-id: svn://svn.freebsd.org/base/stable/9@233728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/vm_contig.c
sys/vm/vm_map.c
sys/vm/vm_mmap.c
sys/vm/vm_object.c
sys/vm/vm_object.h
sys/vm/vm_pageout.c
sys/vm/vm_pageout.h