[Bug 225586] ftruncate+mmap+fsync fails for small maps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 2 11:56:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225586

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Fri Feb  2 11:56:30 UTC 2018
New revision: 328773
URL: https://svnweb.freebsd.org/changeset/base/328773

Log:
  On pageout, in vnode generic pager, for partially dirty page, only
  clear dirty bits for completely invalid blocks.

  Otherwise we might not write out the last chunk that is shorter than
  512 bytes, if the file end is not aligned on disk block boundary.
  This become important after the r324794.

  PR:   225586
  Reported by:  tris_vern at hotmail.com
  Tested by:    pho
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Changes:
  head/sys/vm/vnode_pager.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list