From: Andras Kovacs <akovacs@fixstars.com>
To: linux-scsi@vger.kernel.org
Subject: UNMAP command parameter list
Date: Fri, 7 Nov 2014 23:30:00 +0000 (UTC) [thread overview]
Message-ID: <loom.20141108T001847-741@post.gmane.org> (raw)
Hi all,
I'm trying to see what parameters are passed to the UFS driver from the
SCSI midlayer when an UNMAP command is issued. In the UFS driver I can see
the 10 byte command itself in the unsigned char *cmnd field of the struct
scsi_cmnd, and it tells me that the parameter list length is 24 bytes (an 8
byte UNMAP Parameter List header followed by one 16 byte long UNMAP Block
Descriptor), but I'm having trouble finding where this UNMAP Parameter List
is. It doesn't seem to be in the cmnd[] byte array after the UNMAP command
itself.
Can anyone tell me where I can find the UNMAP Parameter List which belongs
to a particular UNMAP command?
Any and all info would be greatly appreciated.
Andras
next reply other threads:[~2014-11-07 23:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-07 23:30 Andras Kovacs [this message]
2014-11-07 23:57 ` UNMAP command parameter list Elliott, Robert (Server Storage)
2014-11-08 20:22 ` Andras Kovacs
2014-11-10 15:56 ` Andras Kovacs
2014-11-10 16:44 ` Martin K. Petersen
2014-11-10 17:40 ` Christoph Hellwig
2014-11-10 17:52 ` Martin K. Petersen
2014-11-10 18:10 ` Andras Kovacs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20141108T001847-741@post.gmane.org \
--to=akovacs@fixstars.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox