FreeBSD Bugzilla – Attachment 184638 Details for
Bug 220948
adaasync() should set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE
adaasync-Set-ADA_STATE_WCACHE-based-on-ADA_FLAG_CAN_WCACHE.diff (text/plain), 1.04 KB, created by
Fabian Keil
on 2017-07-23 16:02:47 UTC
(
hide
)
Description:
adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2017-07-23 16:02:47 UTC
Size:
1.04 KB
patch
obsolete
>From c9c55d6e64d8f025f53a74057d0a61365b7b5f96 Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >Date: Sun, 23 Jul 2017 10:44:33 +0200 >Subject: [PATCH] adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE > >... instead of ADA_FLAG_CAN_RAHEAD. > >This fixes a regression introduced in r300207 which changed >the flag names. > >Obtained from: ElectroBSD >--- > sys/cam/ata/ata_da.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c >index 808dc72afcb3..ce290dd74e6d 100644 >--- a/sys/cam/ata/ata_da.c >+++ b/sys/cam/ata/ata_da.c >@@ -1288,7 +1288,7 @@ adaasync(void *callback_arg, u_int32_t code, > xpt_action((union ccb *)&cgd); > if (ADA_RA >= 0 && softc->flags & ADA_FLAG_CAN_RAHEAD) > softc->state = ADA_STATE_RAHEAD; >- else if (ADA_WC >= 0 && softc->flags & ADA_FLAG_CAN_RAHEAD) >+ else if (ADA_WC >= 0 && softc->flags & ADA_FLAG_CAN_WCACHE) > softc->state = ADA_STATE_WCACHE; > else if ((softc->flags & ADA_FLAG_CAN_LOG) > && (softc->zone_mode != ADA_ZONE_NONE)) >-- >2.13.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220948
: 184638