node.h (87a0b2fafc09766d8c55461a18345a1cfb10a7fe) node.h (47c8ebcce85ed7113e9e3e3f1d8c6374fa87848e)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/node.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8/* start node id of a node block dedicated to the given node id */

--- 17 unchanged lines hidden (view full) ---

26/* control the memory footprint threshold (10MB per 1GB ram) */
27#define DEF_RAM_THRESHOLD 1
28
29/* control dirty nats ratio threshold (default: 10% over max nid count) */
30#define DEF_DIRTY_NAT_RATIO_THRESHOLD 10
31/* control total # of nats */
32#define DEF_NAT_CACHE_THRESHOLD 100000
33
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/node.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8/* start node id of a node block dedicated to the given node id */

--- 17 unchanged lines hidden (view full) ---

26/* control the memory footprint threshold (10MB per 1GB ram) */
27#define DEF_RAM_THRESHOLD 1
28
29/* control dirty nats ratio threshold (default: 10% over max nid count) */
30#define DEF_DIRTY_NAT_RATIO_THRESHOLD 10
31/* control total # of nats */
32#define DEF_NAT_CACHE_THRESHOLD 100000
33
34/* control total # of node writes used for roll-fowrad recovery */
35#define DEF_RF_NODE_BLOCKS 0
36
34/* vector size for gang look-up from nat cache that consists of radix tree */
35#define NATVEC_SIZE 64
36#define SETVEC_SIZE 32
37
38/* return value for read_node_page */
39#define LOCKED_PAGE 1
40
41/* check pinned file's alignment status of physical blocks */

--- 388 unchanged lines hidden ---
37/* vector size for gang look-up from nat cache that consists of radix tree */
38#define NATVEC_SIZE 64
39#define SETVEC_SIZE 32
40
41/* return value for read_node_page */
42#define LOCKED_PAGE 1
43
44/* check pinned file's alignment status of physical blocks */

--- 388 unchanged lines hidden ---