Controlling write request access to a non-volatile log
First Claim
1. A method, comprising:
- receiving a write request from a client at a storage server;
determining that a first portion of a non-volatile log (NVLog) is in consistency point processing;
classifying the received write request into a category, wherein the category is one of a plurality of categories of write requests to be logged in a second portion of the NVLog;
determining if presently logging the received write request in the second portion of the NVLog would exceed a threshold for write requests of the classified category in the second portion of the NVLog when the first portion of the NVLog is in consistency point processing;
if the write request would exceed the threshold, delaying the logging of the received write request until the first portion of the NVLog completes the consistency point processing; and
if the write request would not exceed the threshold, logging the received write request in the second portion of the NVLog.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment of the present invention, a method and system are provided to control access to the non-volatile log (NVlog) of a storage server. By controlling access to the NVLog of a storage server the relative disk write bandwidth available to different client write requests can be controlled. The incoming write request can be categorized, and, during times of heavy load, only be permitted to use NVLog space as permitted based on the categorization of each write request. In one embodiment, the present invention includes receiving a write request from a client at a storage server, and determining whether the received write request can be presently logged in a NVlog based on a category of the write request.
24 Citations
13 Claims
-
1. A method, comprising:
-
receiving a write request from a client at a storage server; determining that a first portion of a non-volatile log (NVLog) is in consistency point processing; classifying the received write request into a category, wherein the category is one of a plurality of categories of write requests to be logged in a second portion of the NVLog; determining if presently logging the received write request in the second portion of the NVLog would exceed a threshold for write requests of the classified category in the second portion of the NVLog when the first portion of the NVLog is in consistency point processing; if the write request would exceed the threshold, delaying the logging of the received write request until the first portion of the NVLog completes the consistency point processing; and if the write request would not exceed the threshold, logging the received write request in the second portion of the NVLog. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A storage server, comprising:
-
a network adapter configured to connect the storage server to a network and to receive a write request from a client machine also connected to the network; and a memory storing an operating system, wherein the operating system implements a control of service layer, the control of service layer to determine that a first portion of a non-volatile log (NVLog) is in consistency point processing, to categorize the received write request into one of a plurality of categories to be logged in a second portion of the NVLog, to determine if presently logging the received write request in the second portion of the NVLog would to exceed threshold for write requests of the category in the second portion of the NVLog when the first portion of the NVLog is in consistency point processing, if the write request would exceed the threshold, to delay the logging of the received write request until the first portion of the NVLog completes the consistency point processing, and if the write request would not exceed the threshold, to log the received write request in the second portion of the NVLog. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
Specification