Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9363
  • 博文数量: 5
  • 博客积分: 11
  • 博客等级: 民兵
  • 技术积分: 35
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-22 11:48
文章分类
文章存档

2012年(5)

我的朋友

分类:

2012-03-29 10:35:15

原文地址:scsi中DPO和FUA 是什么 作者:deep_pro

做硬盘驱动遇到
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.
阅读(3843) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:Linux中断处理体系结构分析(二)

给主人留下些什么吧!~~