diff options
| author | Qu Wenruo <wqu@suse.com> | 2020-07-13 09:03:22 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:45 +0200 |
| commit | fd7fb634d69a7d8c91aa3166b77351b96954aae4 (patch) | |
| tree | e6dc66d37a98573aa2733e94cd7f79e887a612df /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | btrfs: relocation: review the call sites which can be interrupted by signal (diff) | |
| download | linux-fd7fb634d69a7d8c91aa3166b77351b96954aae4.tar.gz linux-fd7fb634d69a7d8c91aa3166b77351b96954aae4.zip | |
btrfs: add comments for btrfs_reserve_flush_enum
This enum is the interface exposed to developers.
Although we have a detailed comment explaining the whole idea of space
flushing at the beginning of space-info.c, the exposed enum interface
doesn't have any comment.
Some corner cases, like BTRFS_RESERVE_FLUSH_ALL and
BTRFS_RESERVE_FLUSH_ALL_STEAL can be interrupted by fatal signals, are
not explained at all.
So add some simple comments for these enums as a quick reference.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
