git: cam(4): Add a quirk to turn off SYNC CACHE for mly(4).

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Aug 22 13:25:07 PDT 2011


commit a4a9ba759e5f1181efaef7761ddceb32fbe2c661
Author: Sascha Wildner <saw at online.de>
Date:   Mon Aug 22 22:22:41 2011 +0200

    cam(4): Add a quirk to turn off SYNC CACHE for mly(4).
    
    This fixes mounting a HAMMER file system from an mly(4) disk on
    the AcceleRAID 160 I tried this with.
    
    I think it will also fix the following issue that was reported
    for the AcceleRAID 170 on FreeBSD:
    
    http://lists.freebsd.org/pipermail/freebsd-hardware/2008-December/005676.html
    
    The problem with fixing this was that the mly(4) driver modifies
    the SCSI inquiry data and uses it for its own purposes (to show
    the disk type and status). So I had to make these fields a bit
    more recognizable to the quirks code because the previous strings
    were too generic for my taste.

Summary of changes:
 sys/bus/cam/scsi/scsi_da.c    |    8 +++++++-
 sys/dev/raid/mly/mly.c        |    2 +-
 sys/dev/raid/mly/mly_tables.h |   28 ++++++++++++++--------------
 3 files changed, 22 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4a9ba759e5f1181efaef7761ddceb32fbe2c661


-- 
DragonFly BSD source repository





More information about the Commits mailing list