]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for WRITE ATOMIC (16) command and report SBC-4 compliance.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 8 Oct 2014 07:48:36 +0000 (07:48 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 8 Oct 2014 07:48:36 +0000 (07:48 +0000)
commit8a416753723e6a481607dbe7d5fed622f5a0f8e0
tree573f3d03af1b5cc3e69f86416c9e06d04e6c2088
parentc38aa2537bc8296221269153fff786cfba11614b
Add support for WRITE ATOMIC (16) command and report SBC-4 compliance.

Atomic writes are only supported for ZVOLs in "dev" mode.  In other cases
atomicity can not be guarantied and so the command is blocked.
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_backend.h
sys/cam/ctl/ctl_backend_block.c
sys/cam/ctl/ctl_backend_ramdisk.c
sys/cam/ctl/ctl_cmd_table.c
sys/cam/ctl/scsi_ctl.c
sys/cam/scsi/scsi_all.h