]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r307507, r307509, r307515:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Oct 2016 08:48:01 +0000 (08:48 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Oct 2016 08:48:01 +0000 (08:48 +0000)
commit6e2ec739f1fb26782715a716bbd4c36eb8a0724e
tree6cc659caa668df9faee5deeead8f1793a34f22fa
parent2f20f32fa338990a05b6c2bb27f373cb5106ca00
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@308081 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ata/ata_da.c
sys/cam/scsi/scsi_da.c