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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 8 20:06:22 PDT 2009


commit a9453758088330f18043fd92f688ecf48d29ccca
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list