Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: SCSI UNMAP / WRITE SAME #122

Open
mailinglists35 opened this issue Mar 15, 2021 · 1 comment
Open

Feature suggestion: SCSI UNMAP / WRITE SAME #122

mailinglists35 opened this issue Mar 15, 2021 · 1 comment

Comments

@mailinglists35
Copy link

On Linux initiator I can do lsblk -D and see that the iscsi block device supports discards, via SCSI UNMAP command.

It would be very useful to be able to support this (similar to how "TRIM supported: yes" appears for local SSD block devices)

@mailinglists35 mailinglists35 changed the title Feature suggestion: SCSI UNMAP Feature suggestion: SCSI UNMAP / WRITE SAME Mar 15, 2021
@nsinenian
Copy link
Member

Will explore this once DriverKit updates/changes are released. Note, however, that some of these features may be limited by DriverKit. The iSCSIInitiator does not implement a full SCSI stack. It translates between SCSI and iSCSI PDUs (along with session and connection management). In other words, if I can activate support for a particular command in the virtual driver it's because DriverKit allows for it; not because it is something that is (or is not) implemented in the SCSI stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants