mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
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
818d282e7b
commit
71185c66dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254052
@ -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