bcachefs.h (e131b6aa0a316f9724e6e8ad2f9be091c07115a7) | bcachefs.h (9620c3ec2fa83e18f52e99b3dd2e8451446ca17e) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_H 3#define _BCACHEFS_H 4 5/* 6 * SOME HIGH LEVEL CODE DOCUMENTATION: 7 * 8 * Bcache mostly works with cache sets, cache devices, and backing devices. --- 532 unchanged lines hidden (view full) --- 541 size_t size; 542 u64 journal_seq_base; 543}; 544 545struct btree_iter_buf { 546 struct btree_iter *iter; 547}; 548 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_H 3#define _BCACHEFS_H 4 5/* 6 * SOME HIGH LEVEL CODE DOCUMENTATION: 7 * 8 * Bcache mostly works with cache sets, cache devices, and backing devices. --- 532 unchanged lines hidden (view full) --- 541 size_t size; 542 u64 journal_seq_base; 543}; 544 545struct btree_iter_buf { 546 struct btree_iter *iter; 547}; 548 |
549#define REPLICAS_DELTA_LIST_MAX (1U << 16) 550 |
|
549struct bch_fs { 550 struct closure cl; 551 552 struct list_head list; 553 struct kobject kobj; 554 struct kobject internal; 555 struct kobject opts_dir; 556 struct kobject time_stats; --- 11 unchanged lines hidden (view full) --- 568 struct percpu_ref writes; 569 struct work_struct read_only_work; 570 571 struct bch_dev __rcu *devs[BCH_SB_MEMBERS_MAX]; 572 573 struct bch_replicas_cpu replicas; 574 struct bch_replicas_cpu replicas_gc; 575 struct mutex replicas_gc_lock; | 551struct bch_fs { 552 struct closure cl; 553 554 struct list_head list; 555 struct kobject kobj; 556 struct kobject internal; 557 struct kobject opts_dir; 558 struct kobject time_stats; --- 11 unchanged lines hidden (view full) --- 570 struct percpu_ref writes; 571 struct work_struct read_only_work; 572 573 struct bch_dev __rcu *devs[BCH_SB_MEMBERS_MAX]; 574 575 struct bch_replicas_cpu replicas; 576 struct bch_replicas_cpu replicas_gc; 577 struct mutex replicas_gc_lock; |
578 mempool_t replicas_delta_pool; |
|
576 577 struct journal_entry_res btree_root_journal_res; 578 struct journal_entry_res replicas_journal_res; 579 struct journal_entry_res clock_journal_res; 580 struct journal_entry_res dev_usage_journal_res; 581 582 struct bch_disk_groups_cpu __rcu *disk_groups; 583 --- 309 unchanged lines hidden --- | 579 580 struct journal_entry_res btree_root_journal_res; 581 struct journal_entry_res replicas_journal_res; 582 struct journal_entry_res clock_journal_res; 583 struct journal_entry_res dev_usage_journal_res; 584 585 struct bch_disk_groups_cpu __rcu *disk_groups; 586 --- 309 unchanged lines hidden --- |