aboutsummaryrefslogtreecommitdiff
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-11-30 17:03:26 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-11-30 17:03:26 +0000
commit21a45add50f1b1eb7e52e6adb859ae6c9fe0be5a (patch)
tree50a7742c3385fd611fff225adbbb02b77581f526 /ObsoleteFiles.inc
parentec5fed758cbe1552c4716f2ac615d09a68905bca (diff)
downloadsrc-21a45add50f1b1eb7e52e6adb859ae6c9fe0be5a.tar.gz
src-21a45add50f1b1eb7e52e6adb859ae6c9fe0be5a.zip
ffs: do not read full direct blocks if they are going to be overwritten.
BA_CLRBUF specifies that existing context of the block will be completely overwritten by caller, so there is no reason to spend io fetching existing data. We do the same for indirect blocks. Reported by: tmunro Reviewed by: mckusick, tmunro Tested by: pho, tmunro Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D27353
Notes
Notes: svn path=/head/; revision=368191
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions