From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 106861] New: DPOFUA should not be related to WCE / Caching mode page
Date: Thu, 29 Oct 2015 08:14:51 +0000 [thread overview]
Message-ID: <bug-106861-11613@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=106861
Bug ID: 106861
Summary: DPOFUA should not be related to WCE / Caching mode
page
Product: IO/Storage
Version: 2.5
Kernel Version: 4.2.4
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
Assignee: linux-scsi@vger.kernel.org
Reporter: tom.ty89@gmail.com
Regression: No
The sd driver checks whether the device supports DPO/FUA and reports it to the
FUA readonly attribute. However, they are somehow "depended" on the Caching
mode page and WCE (sd.c).
The fact is, the DPOFUA bit just isn't part of the Caching mode page. Instead
it is reported in DEVICE-SPECIFIC PARAMETER of mode parameter header.
Moreover, I don't see what impact does WCE have on DPO/FUA as per SBC or SAT.
As long as it is implemented correctly, DPO/FUA should be completely fine on
drives without write cache as well.
So IMHO how the kernel handles the checking and reporting simply has logical
mistake.
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2015-10-29 8:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 8:14 bugzilla-daemon [this message]
2015-10-29 8:15 ` [Bug 106861] DPOFUA should not be related to WCE / Caching mode page bugzilla-daemon
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=bug-106861-11613@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).