Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: scsi: do not set IMMED bit of SYNCHRONIZE CACHE command
Current scsi backend implementation sets IMMED bit of SYNCHRONIZE CACHE command. Then zbc_flush() call does not wait for cache synchronization completion on drives and has risk of data loss. To avoid the risk, do not set the bit. This change also avoids failure which happens when the drives do not support the bit. Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
- Loading branch information