Buffer cache management to prevent deadlocks
AssigneeInternational Business Machines Corporation
InventorsMatthew J. Harding, Mitchell P. Harding, Joshua D. Miers
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMatthew J. Harding, Mitchell P. Harding, Joshua D. Miers
Estimating the term…
A method, computer program product, and data processing system for managing a input/output buffer cache for prevention of deadlocks are disclosed. In a preferred embodiment, automatic buffer cache resizing is performed whenever the number of free buffers in the buffer cache diminishes to below a pre-defined threshold. This resizing adds a pre-defined number of additional buffers to the buffer cache, up to a pre-defined absolute maximum buffer cache size. To prevent deadlocks, an absolute minimum number of free buffers are reserved to ensure that sufficient free buffers for performing a buffer cache resize are always available. In the event that the buffer cache becomes congested and cannot be resized further, threads whose buffer demands cannot be immediately satisfied are blocked until sufficient free buffers become available.
A computer-performed method of managing a buffer cache, comprising:
A computer program product in one or more tangible computer-readable media of computer code, comprising functional descriptive material that, when executed by a computer, causes the computer to perform actions of:
A data processing system comprising:
Dependencies are inferred from the claim text.