transaction.h (1136fa0c07de570dc17858745af8be169d1440ba) transaction.h (b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_TRANSACTION_H
7#define BTRFS_TRANSACTION_H
8

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

211struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root);
212struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root);
213struct btrfs_trans_handle *btrfs_attach_transaction_barrier(
214 struct btrfs_root *root);
215int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid);
216
217void btrfs_add_dead_root(struct btrfs_root *root);
218int btrfs_defrag_root(struct btrfs_root *root);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_TRANSACTION_H
7#define BTRFS_TRANSACTION_H
8

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

211struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root);
212struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root);
213struct btrfs_trans_handle *btrfs_attach_transaction_barrier(
214 struct btrfs_root *root);
215int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid);
216
217void btrfs_add_dead_root(struct btrfs_root *root);
218int btrfs_defrag_root(struct btrfs_root *root);
219void btrfs_maybe_wake_unfinished_drop(struct btrfs_fs_info *fs_info);
219int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root);
220int btrfs_commit_transaction(struct btrfs_trans_handle *trans);
221void btrfs_commit_transaction_async(struct btrfs_trans_handle *trans);
222int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans);
223bool btrfs_should_end_transaction(struct btrfs_trans_handle *trans);
224void btrfs_throttle(struct btrfs_fs_info *fs_info);
225int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
226 struct btrfs_root *root);

--- 12 unchanged lines hidden ---
220int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root);
221int btrfs_commit_transaction(struct btrfs_trans_handle *trans);
222void btrfs_commit_transaction_async(struct btrfs_trans_handle *trans);
223int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans);
224bool btrfs_should_end_transaction(struct btrfs_trans_handle *trans);
225void btrfs_throttle(struct btrfs_fs_info *fs_info);
226int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
227 struct btrfs_root *root);

--- 12 unchanged lines hidden ---