git: DragonFly_RELEASE_2_8 kernel - Close possible hole in hamme

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 9e32a431c4b497abc342d1e43b592b4e4922eec5 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Nov 11 10:12:59 2010 -0800 kernel - Close possible hole in hammer inval code * Do not use FINDBLK_TEST, instead have findblk() return a locked buffer cache buffer and deal with it from there. While the original code should have been ok (it would getblk() the buffer cache in either case), it depended on certain MP race characteristics that might not hold so don't take any chances. * This does not fix any known issues but removes some uncertainty. Summary of changes: sys/vfs/hammer/hammer_io.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e32a431c4b497abc342d1e43b592b4e4922eec5 -- DragonFly BSD source repository
文章代碼(AID): #1CvoLmoy (DFBSD_commit)