]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r307507, r307509, r307515:
authormav <mav@FreeBSD.org>
Sat, 29 Oct 2016 08:47:23 +0000 (08:47 +0000)
committermav <mav@FreeBSD.org>
Sat, 29 Oct 2016 08:47:23 +0000 (08:47 +0000)
commit2c51319876e43279c95d2cdc537d65784b50252d
treec04ac5620edc9037c93568cd923ab5e9309aa668
parenta62b6c1013f6928b1442da082b4b3393d9cb790c
MFC r307507, r307509, r307515:
Consider device as clean even if SYNCHRONIZE CACHE failed.

If device reservation was preempted by other initiator, our sync request
will always fail.  Without this change CAM tried to sync cache on every
following device close, including numerous GEOM tasting opens/closes,
causing lots of useless noise in logs.
sys/cam/ata/ata_da.c
sys/cam/scsi/scsi_da.c