Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Feb 2018 11:56:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225586] ftruncate+mmap+fsync fails for small maps
Message-ID:  <bug-225586-8-XqoMqRQYv6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225586-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #5 from commit-hook@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@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225586-8-XqoMqRQYv6>