Consider device as clean even if SYNCHRONIZE CACHE failed.
authormav <mav@FreeBSD.org>
Mon, 17 Oct 2016 08:35:56 +0000 (08:35 +0000)
committermav <mav@FreeBSD.org>
Mon, 17 Oct 2016 08:35:56 +0000 (08:35 +0000)
commitbb7115b9382a9418faef052c764041201e762f6d
tree49af8a1e1e0f7cb9d15d55b60ab537df0b9c7e1c
parentd6fb5308f659752b0493e632ad75ce902eec65d8
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.

While there, increase SYNCHRONIZE CACHE timeout to default value.

MFC after: 2 weeks
sys/cam/scsi/scsi_da.c