summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-09-14 10:11:38 +0000
committerkib <kib@FreeBSD.org>2013-09-14 10:11:38 +0000
commit889b9d0e0bc82fd4927dd02d64c973c36fa661a3 (patch)
treef37a78f4d81e6169576aba18f93a523010b92d84 /sbin/camcontrol
parent8e2ea476ab8229a8a75ced9a6a6256ef9e102363 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud