DragonFly commits List (threaded) for 2009-07
DragonFly-184.108.40.2063.ga9453 master sys/bus/cam/scsi scsi_da.c
Author: Matthew Dillon <firstname.lastname@example.org>
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(-)
DragonFly BSD source repository