segment.h (7b525dd01365c6764018e374d391c92466be1b7a) segment.h (2ef79ecb5e906d87475d3e0c49b22425499a89f3)
1/*
2 * fs/f2fs/segment.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

210#define ATOMIC_WRITTEN_PAGE ((unsigned long)-1)
211#define DUMMY_WRITTEN_PAGE ((unsigned long)-2)
212
213#define IS_ATOMIC_WRITTEN_PAGE(page) \
214 (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE)
215#define IS_DUMMY_WRITTEN_PAGE(page) \
216 (page_private(page) == (unsigned long)DUMMY_WRITTEN_PAGE)
217
1/*
2 * fs/f2fs/segment.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

210#define ATOMIC_WRITTEN_PAGE ((unsigned long)-1)
211#define DUMMY_WRITTEN_PAGE ((unsigned long)-2)
212
213#define IS_ATOMIC_WRITTEN_PAGE(page) \
214 (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE)
215#define IS_DUMMY_WRITTEN_PAGE(page) \
216 (page_private(page) == (unsigned long)DUMMY_WRITTEN_PAGE)
217
218#define MAX_SKIP_ATOMIC_COUNT 16
219
218struct inmem_pages {
219 struct list_head list;
220 struct page *page;
221 block_t old_addr; /* for revoking when fail to commit */
222};
223
224struct sit_info {
225 const struct segment_allocation *s_ops;

--- 623 unchanged lines hidden ---
220struct inmem_pages {
221 struct list_head list;
222 struct page *page;
223 block_t old_addr; /* for revoking when fail to commit */
224};
225
226struct sit_info {
227 const struct segment_allocation *s_ops;

--- 623 unchanged lines hidden ---