发明名称 Input/Output (IO) Request Processing Method and File Server
摘要 An input/output (IO) request processing method and a file server, where the method includes adding, according to different service levels carried in IO requests of users, the IO requests of the users to corresponding cache queues for processing at a virtual file system layer, a block IO layer and a device driver layer separately, thereby meeting different service level requirements for the IO requests of the users.
申请公布号 US2017052979(A1) 申请公布日期 2017.02.23
申请号 US201615346114 申请日期 2016.11.08
申请人 Huawei Technologies Co., Ltd. 发明人 Qi Kai;Wang Wei;Chen Keping
分类号 G06F17/30;G06F9/48 主分类号 G06F17/30
代理机构 代理人
主权项 1. An input/output (IO) request processing method applied to a file system, wherein the file system comprises a virtual file system layer, a block IO layer, a device driver layer, and a service level information base, wherein the service level information base comprises a first correspondence between a service level of a user and a cache queue at the virtual file system layer, a second correspondence among the service level of the user, a cache queue at the block IO layer, and a scheduling algorithm for scheduling an IO request of the user in the cache queue at the block IO layer, and a third correspondence between the service level of the user and a cache queue at the device driver layer, and wherein the method comprises: receiving, by the virtual file system layer, an IO request of a first user, wherein the IO request of the first user carries a service level of the first user; querying for the first correspondence in the service level information base according to the service level of the first user, to determine a cache queue at the virtual file system layer corresponding to the service level of the first user; adding the IO request of the first user to the determined cache queue at the virtual file system layer; receiving, by the block IO layer, the IO request of the first user from the determined cache queue at the virtual file system layer; querying for the second correspondence in the service level information base according to the service level of the first user, to determine a cache queue at the block IO layer corresponding to the service level of the first user and a scheduling algorithm for scheduling the IO request of the first user; adding the IO request of the first user to the determined cache queue at the block IO layer corresponding to the service level of the first user; scheduling the IO request of the first user in the cache queue at the block IO layer according to the determined scheduling algorithm for scheduling the IO request of the first user; receiving, by the device driver layer, the scheduled IO request of the first user from the cache queue at the block IO layer corresponding to the service level of the first user; querying for the third correspondence in the service level information base according to the service level of the first user, to determine a cache queue at the device driver layer corresponding to the service level of the first user; and adding the scheduled IO request of the first user to the determined cache queue at the device driver layer corresponding to the service level of the first user, for processing.
地址 Shenzhen CN
您可能感兴趣的专利