linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 106861] New: DPOFUA should not be related to WCE / Caching mode page
@ 2015-10-29  8:14 bugzilla-daemon
  2015-10-29  8:15 ` [Bug 106861] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2015-10-29  8:14 UTC (permalink / raw)
  To: linux-scsi

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-29  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29  8:14 [Bug 106861] New: DPOFUA should not be related to WCE / Caching mode page bugzilla-daemon
2015-10-29  8:15 ` [Bug 106861] " bugzilla-daemon

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).