public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: VaibhavNipunage <vaibhavnipunage@gmail.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Mode Pages implementaion
Date: Fri, 24 Apr 2009 06:23:42 -0600	[thread overview]
Message-ID: <20090424122342.GZ1926@parisc-linux.org> (raw)
In-Reply-To: <23213776.post@talk.nabble.com>

On Fri, Apr 24, 2009 at 03:26:10AM -0700, VaibhavNipunage wrote:
> When initiator sends Mode Sense (0x1Ah) with requested page opcode (0x3F :
> all pages), then at that time on target side, target got the Allocation
> Length as 192. I dont know why it is getting 192 size. I read PC-3 doc,
> according to that target should receive 256 (for MODE SENSE 6) or 65,536
> (for MODE SENSE 10). I am confused why this is happening? 

Allocation Length is the amount of space the initiator has available
for the response.  It can be any length (including zero, which SPC4 is
very clear is not an error).  See section 4.3.5.6 Allocation length in
spc4r14 or 4.3.4.6 Allocation length in spc3r23.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  reply	other threads:[~2009-04-24 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 10:26 Mode Pages implementaion VaibhavNipunage
2009-04-24 12:23 ` Matthew Wilcox [this message]
2009-04-24 13:24   ` Vaibhav Nipunage

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=20090424122342.GZ1926@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=linux-scsi@vger.kernel.org \
    --cc=vaibhavnipunage@gmail.com \
    /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