forked from btrfs/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: implement percpu_counter for ENOSPC rework
implements percpu_counter bytes_may_use_percpu in btrfs_space_info. Adds 2 functions to DECLARE_SPACE_INFO_UPDATE as well as some logic, enabling the percpu counter to keep track of all bytes added to "bytes_may_use". Also catching any errors as they may occur. This commit is the first for this rework: btrfs/btrfs-todo#53
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters