关闭

scsi中DPO和FUA 是什么

标签: servercacheaccessapplication
1596人阅读 评论(0) 收藏 举报
分类:

做硬盘驱动遇到
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
没时间细读总线规范(SCSI Block Commands-2)的话,以下是简介
DPO是disable page out的缩写,FUA是force unit access的缩写.
When the cache becomes full of logical blocks, new logical blocks may replace those currently in the cache. The disable page out (DPO) bit in the CDB of commands performing write, read, or verify operations allows the application client to influence the replacement of logical blocks in the cache. For write operations, setting the DPO bit to one specifies that the device server should not replace existing logical blocks in the cache with the new logical blocks being written. For read and verify operations, setting the DPO bit to one specifies that the device server should not replace logical blocks in the cache with the logical blocks that are being read.
Application clients may use the force unit access (FUA) bit in the CDB of commands performing write or read operations to specify that the device server shall access the medium. For a write operation, setting the FUA bit to one causes the device server to complete the data write to the medium before completing the command. For a read operation, setting the FUA bit to one causes the device server to retrieve the logical blocks from the medium rather than from the cache.
When the DPO and FUA bits are both set to one, write and read operations effectively bypass the cache.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:141385次
    • 积分:1998
    • 等级:
    • 排名:第19569名
    • 原创:51篇
    • 转载:57篇
    • 译文:1篇
    • 评论:6条
    文章分类
    最新评论