发明名称 Dynamically controlling a file system write cache
摘要 Methods, computing systems and computer program products implement embodiments of the present invention that include initializing, by a processor executing a file system in communication with a block manager managing multiple storage regions on a storage device, a file system write cache to have a default cache size, the default cache size corresponding to a first storage capacity of a default number of the storage regions. Upon detecting that a current number of the storage regions that are not in use by the block manager is less than the default number, the file system write cache is resized to a reduced cache size that corresponds to a second storage capacity of the current number of the storage regions. While the file system write cache has the reduced cache size, the file system write cache can be resized back to the default cache size as unused storage regions become available.
申请公布号 US9542328(B2) 申请公布日期 2017.01.10
申请号 US201514605665 申请日期 2015.01.26
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Chen Lior;Kalaev Maxim;Margalit Amit;Matosevich Rivka M.
分类号 G06F12/08;G06F12/12;G06F12/10 主分类号 G06F12/08
代理机构 Griffiths & Seaton PLLC 代理人 Griffiths & Seaton PLLC
主权项 1. A method, comprising: initializing, by a processor executing a file system in communication with a block manager managing multiple storage regions on a storage device, a file system write cache to have a default cache size, the default cache size corresponding to a first storage capacity of a default number of the storage regions; determining a current number of the storage regions that are not in use by the block manager; upon detecting that the current number is less than the default number, resizing the file system write cache to a reduced cache size that corresponds to a second storage capacity of the current number of the storage regions; and determining, while the file system write cache has the reduced cache size, a subsequent number of the storage regions that are not in use by the file system, and upon detecting that the subsequent number is greater than the current number, resizing the file system write cache to an expanded cache size that corresponds to a third storage capacity comprising a lesser of the subsequent number of the storage regions and the first storage capacity.
地址 Armonk NY US