grain showFillPolicy
Parameters
Parameter |
Description |
Value |
---|---|---|
fsid | File system ID. | To obtain the value, run the "show file_system general" command. |
Example
Displays the return policy of the merge tree.
admin:/diagnose>grain showFillPolicy 1 Meta curr fill policy: 1 Meta last fill policy: 1 Meta curr through flag: 0 Meta last through flag: 0 Meta first load: 0 Meta last alg out(byte): 921600 Meta last tx used(byte): 921600 Meta last max alloc(byte):4096 Meta last merge tree out(byte): 0 Meta last tx merge tree out(byte): 0 Meta alloc from spa flag: 0 Meta history alloc from spa flag: 0x2 Meta small tree manual set bitmap item num:0 Meta small tree start num:1280 Meta small tree end num: 3840 Meta percent: 0 Data curr fill policy: 1 Data last fill policy: 1 Data curr through flag: 0 Data last through flag: 0 Data first load: 0 Data last alg out(byte):0 Data last tx used(byte):0 Data last max alloc(byte):4096 Data last merge tree out(byte): 0 Data last tx merge tree out(byte): 0 Data alloc from spa flag: 0 Data history alloc from spa flag: 0x0 Data small tree manual set bitmap item num:0 Data small tree start num:25600 Data small tree end num: 76800 Data percent: 0
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Meta curr fill policy | Allocation policy of the current transaction. |
Meta last fill policy | Allocation policy of the last transaction. |
Meta curr through flag | Write through flag of the current transaction. |
Meta last through flag | Write through flag of the last transaction. |
Meta first load | Indicates whether the metadata is loaded for the first time. |
Meta last alg out(byte) | Utilized space (expressed in bytes) of the allocation tree for the last transaction. |
Meta last tx used(byte) | Utilized space (expressed in bytes) of the last transaction. |
Meta last max alloc(byte):4096 | Space that needs to be returned for the last transaction. |
Meta last merge tree out(byte) | Total space (expressed in bytes) removed from the merge tree to the allocation tree during the last transaction. |
Meta last tx merge tree out(byte) | Space (expressed in bytes) removed from the merge tree to the allocation tree. |
Meta alloc from spa flag | Determines whether space is allocated from spa. |
Meta history alloc from spa flag | Indicates whether space is allocated from spa and returned during space adjustment for the 64 transactions in the flag history. |
Meta small tree manual set bitmap item num | Manually sets startBitMapItemNum and endBitmapItemNum, not calculated by the file system capacity. |
Meta small tree start num | Initial number of items on the bitmap B-tree with the middle strategy. |
Meta small tree end num | Final number of items on the bitmap B-tree with the middle strategy. |
Data curr fill policy | Allocation policy of the current transaction. |
Data last fill policy | Allocation policy of the last transaction. |
Data curr through flag | Write through flag of the current transaction. |
Data last through flag | Write through flag of the last transaction. |
Data first load | Indicates whether the data is loaded for the first time. |
Data last alg out(byte) | Utilized space (expressed in bytes) of the allocation tree for the last transaction. |
Data last tx used(byte) | Utilized space (expressed in bytes) of the last transaction. |
Data last max alloc(byte) | Space that needs to be returned for the last transaction. |
Data last merge tree out(byte) | Total space (expressed in bytes) removed from the merge tree to the allocation tree during the last transaction. |
Data last tx merge tree out(byte) | Space (expressed in bytes) removed from the merge tree to the allocation tree. |
Data alloc from spa flag | Determines whether space is allocated from spa. |
Data history alloc from spa flag | Indicates whether space is allocated from spa and returned during space adjustment for the 64 transactions in the flag history. |
Data small tree manual set bitmap item num | Manually sets startBitMapItemNum and endBitmapItemNum, not calculated by the file system capacity. |
Data small tree start num | Initial number of items on the bitmap B-tree with the middle strategy. |
Data small tree end num | Final number of items on the bitmap B-tree with the middle strategy. |