Patent ID: 7818520

Claim:
A method of specifying access sequence of a storage device, which is applied to a server system comprising a storage device, a plurality of front-end servers located at a front-end of said storage device, and a priority table, wherein said priority table comprises a plurality of records, and each of said records corresponds to a queue and comprises a column of at least one designated front-end server, a column of name of said queue, a column of maximum workload of said queue and a column of priority of said record, and said priorities of said records are different from each other, said method comprising the steps of: determining said front-end server from an access request received by said storage device, wherein said access request represents a request of access operation to said storage device from said front-end server; acquiring the name of said queue corresponding to said front-end server according to said designated front-end server in said priority table; adding said access request to said queue corresponding to said front-end server for waiting to be processed; determining whether or not there is a current queue having said access request stored in said queue and waiting to be processed; processing said access request in said current queue when said current queue exists, and accumulating numbers of processing said access request as a number of work of said current queue; determining whether or not said number of work of said current queue has reached said maximum workload corresponding thereto; determining whether or not said current queue is a queue having a lowest priority when said number of work of said current queue has reached said maximum workload corresponding thereto; and repeating the above steps for executing a next queue having a priority lesser than that of said current queue when said current queue is determined not said queue having said lowest priority.