diff options
author | kib <kib@FreeBSD.org> | 2013-09-14 10:11:38 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-09-14 10:11:38 +0000 |
commit | 889b9d0e0bc82fd4927dd02d64c973c36fa661a3 (patch) | |
tree | f37a78f4d81e6169576aba18f93a523010b92d84 /sbin/camcontrol | |
parent | 8e2ea476ab8229a8a75ced9a6a6256ef9e102363 (diff) | |
download | FreeBSD-src-889b9d0e0bc82fd4927dd02d64c973c36fa661a3.zip FreeBSD-src-889b9d0e0bc82fd4927dd02d64c973c36fa661a3.tar.gz |
If the last page of the file is partially full and whole valid
portion is invalidated, invalidate the whole page. Otherwise,
partially valid page appears on a page queue, which is wrong. This
could only happen for the last page, because only then buffer which
triggered invalidation could not cover the whole page.
Reported and tested by: pho (previous version)
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
Approved by: re (delphij)
MFC after: 2 weeks
Diffstat (limited to 'sbin/camcontrol')
0 files changed, 0 insertions, 0 deletions