[Bug 106861] New: DPOFUA should not be related to WCE / Caching mode page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
          Reporter: tom.ty89@xxxxxxxxx
        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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux