Improve r253721 by reporting detected lack of BIO_FLUSH support to GEOM.
That prevents more of such requests from coming and errors from logging.
This commit is contained in:
parent
0255b98224
commit
7ddb89a6c3
@ -2820,6 +2820,7 @@ cmd6workaround(union ccb *ccb)
|
||||
xpt_print(ccb->ccb_h.path,
|
||||
"SYNCHRONIZE CACHE(10) not supported.\n");
|
||||
softc->quirks |= DA_Q_NO_SYNC_CACHE;
|
||||
softc->disk->d_flags &= ~DISKFLAG_CANFLUSHCACHE;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user