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

看板DFBSD_commit作者時間14年前 (2011/08/23 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1EKhp8zK (DFBSD_commit)