博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
About blk_qc_t
阅读量:7061 次
发布时间:2019-06-28

本文共 610 字,大约阅读时间需要 2 分钟。

hot3.png

blk_qc_t类型是通用块层一个类型,其定义如下:

typedef unsigned int blk_qc_t;

请教了Lei ming两个问题,答复如下:

  1. qc, 很好奇qc是什么的缩写?queue code?

queue cookie, which is only used by poll code path.

  1. 下面3个宏定义代表什么含义呢?
#define BLK_QC_T_NONE           -1U#define BLK_QC_T_SHIFT          16#define BLK_QC_T_INTERNAL       (1U << 31)

NONE means the submitted bio needn't to be polled. It is used in request_to_qc_t(), and BLK_QC_T_INTERNAL means the tag is a internal tag, which is used for IO scheduler, and if it isn't set, it means the tag is a driver tag, which is for submitting IO to hardware/driver.

转载于:https://my.oschina.net/u/2475751/blog/1601010

你可能感兴趣的文章
Error After switch Domain
查看>>
Prepare NetApp iSCSI LUN for Xen or VMware
查看>>
so wie ich 像我这样的人
查看>>
Excel小例子--找到小组内完成专利的情况
查看>>
windows 下php5 开启 mcrypt
查看>>
MongoDB数据同步工具之 MongoShake
查看>>
rhel5 搭建KVM
查看>>
iOS中Json解析的四种方法
查看>>
购物车--low版
查看>>
linux
查看>>
Windows Server 2012 R2 VDI系列(七)—发布RemoteApp
查看>>
PHP中的替换strtr
查看>>
Apache和nginx 301重定向
查看>>
LINQ分页和排序,skip和Take 用法
查看>>
Activiti 查找流程状态(流程下一步)
查看>>
深度优先和广度优先
查看>>
Delphi 密码限3次登录程序(附:源码)
查看>>
Linux中大量TIME_WAIT的解决办法
查看>>
Angular UI Route
查看>>
一个应届毕业生程序员的独白
查看>>