dm-bufio.c (86a3238c7b9b759cb864f4f768ab2e24687dc0e6) dm-bufio.c (2f06cd12e11422e4a44ad4cb856c3ef0be9bd208)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009-2011 Red Hat, Inc.
4 *
5 * Author: Mikulas Patocka <mpatocka@redhat.com>
6 *
7 * This file is released under the GPL.
8 */

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

211 * at any time. If it disagrees, the user has changed cache size.
212 */
213static unsigned long dm_bufio_cache_size_latch;
214
215static DEFINE_SPINLOCK(global_spinlock);
216
217static LIST_HEAD(global_queue);
218
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009-2011 Red Hat, Inc.
4 *
5 * Author: Mikulas Patocka <mpatocka@redhat.com>
6 *
7 * This file is released under the GPL.
8 */

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

211 * at any time. If it disagrees, the user has changed cache size.
212 */
213static unsigned long dm_bufio_cache_size_latch;
214
215static DEFINE_SPINLOCK(global_spinlock);
216
217static LIST_HEAD(global_queue);
218
219static unsigned long global_num = 0;
219static unsigned long global_num;
220
221/*
222 * Buffers are freed after this timeout
223 */
224static unsigned int dm_bufio_max_age = DM_BUFIO_DEFAULT_AGE_SECS;
225static unsigned long dm_bufio_retain_bytes = DM_BUFIO_DEFAULT_RETAIN_BYTES;
226
227static unsigned long dm_bufio_peak_allocated;

--- 1948 unchanged lines hidden ---
220
221/*
222 * Buffers are freed after this timeout
223 */
224static unsigned int dm_bufio_max_age = DM_BUFIO_DEFAULT_AGE_SECS;
225static unsigned long dm_bufio_retain_bytes = DM_BUFIO_DEFAULT_RETAIN_BYTES;
226
227static unsigned long dm_bufio_peak_allocated;

--- 1948 unchanged lines hidden ---