DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Aug 2011 13:24:15 -0700 (PDT)

commit a4a9ba759e5f1181efaef7761ddceb32fbe2c661
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]