DragonFly-2.3.1.733.ga9453 master sys/bus/cam/scsi scsi_da.c

看板DFBSD_commit作者時間16年前 (2009/07/09 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit a9453758088330f18043fd92f688ecf48d29ccca Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jul 8 20:01:17 2009 -0700 CAM - disable cache synchronization by default for USB attachments. Instead of trying to blacklist particular usb mass storage devices which do not support the cache synchronization command, just default to not supporting it for ALL usb mass storage attachments. Too many usb devices brick when sent the command. It matters more now that people are using HAMMER, and HAMMER utilizes the cache synchronization command to delineate flushes. We will now by definition not be able to guarantee recovery if HAMMER is used on a USB mass storage device. It will probably work anyway, though. Reported-by: Many people Summary of changes: sys/bus/cam/scsi/scsi_da.c | 354 ++++++++------------------------------------ 1 files changed, 59 insertions(+), 295 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9453758088330f18043fd92f688ecf48d29ccca -- DragonFly BSD source repository
文章代碼(AID): #1ALMJ9pD (DFBSD_commit)