f2fs.h (611ac726f9ebbb12f2113e5345ef109660954eeb) f2fs.h (07c6b5933ebf58b6132aea9f3e72a62486882bfb)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

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

1248
1249enum {
1250 GC_NORMAL,
1251 GC_IDLE_CB,
1252 GC_IDLE_GREEDY,
1253 GC_IDLE_AT,
1254 GC_URGENT_HIGH,
1255 GC_URGENT_LOW,
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

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

1248
1249enum {
1250 GC_NORMAL,
1251 GC_IDLE_CB,
1252 GC_IDLE_GREEDY,
1253 GC_IDLE_AT,
1254 GC_URGENT_HIGH,
1255 GC_URGENT_LOW,
1256 MAX_GC_MODE,
1256};
1257
1258enum {
1259 BGGC_MODE_ON, /* background gc is on */
1260 BGGC_MODE_OFF, /* background gc is off */
1261 BGGC_MODE_SYNC, /*
1262 * background gc is on, migrating blocks
1263 * like foreground gc

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

1728 /* Precomputed FS UUID checksum for seeding other checksums */
1729 __u32 s_chksum_seed;
1730
1731 struct workqueue_struct *post_read_wq; /* post read workqueue */
1732
1733 struct kmem_cache *inline_xattr_slab; /* inline xattr entry */
1734 unsigned int inline_xattr_slab_size; /* default inline xattr slab size */
1735
1257};
1258
1259enum {
1260 BGGC_MODE_ON, /* background gc is on */
1261 BGGC_MODE_OFF, /* background gc is off */
1262 BGGC_MODE_SYNC, /*
1263 * background gc is on, migrating blocks
1264 * like foreground gc

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

1729 /* Precomputed FS UUID checksum for seeding other checksums */
1730 __u32 s_chksum_seed;
1731
1732 struct workqueue_struct *post_read_wq; /* post read workqueue */
1733
1734 struct kmem_cache *inline_xattr_slab; /* inline xattr entry */
1735 unsigned int inline_xattr_slab_size; /* default inline xattr slab size */
1736
1737 /* For reclaimed segs statistics per each GC mode */
1738 unsigned int gc_segment_mode; /* GC state for reclaimed segments */
1739 unsigned int gc_reclaimed_segs[MAX_GC_MODE]; /* Reclaimed segs for each mode */
1740
1736#ifdef CONFIG_F2FS_FS_COMPRESSION
1737 struct kmem_cache *page_array_slab; /* page array entry */
1738 unsigned int page_array_slab_size; /* default page array slab size */
1739
1740 /* For runtime compression statistics */
1741 u64 compr_written_block;
1742 u64 compr_saved_block;
1743 u32 compr_new_inode;

--- 2632 unchanged lines hidden ---
1741#ifdef CONFIG_F2FS_FS_COMPRESSION
1742 struct kmem_cache *page_array_slab; /* page array entry */
1743 unsigned int page_array_slab_size; /* default page array slab size */
1744
1745 /* For runtime compression statistics */
1746 u64 compr_written_block;
1747 u64 compr_saved_block;
1748 u32 compr_new_inode;

--- 2632 unchanged lines hidden ---