mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
btrfs: add necessary comments about tickets_id
Tickets_id's name may result in some misunderstandings, it just indicates the next ticket will be handled and is not stored per ticket. Fixes: ce12965 ("btrfs: introduce tickets_id to determine whether asynchronous metadata reclaim work makes progress") Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
dc1a90c6aa
commit
939659dfd3
1 changed files with 4 additions and 0 deletions
|
@ -426,6 +426,10 @@ struct btrfs_space_info {
|
||||||
struct list_head ro_bgs;
|
struct list_head ro_bgs;
|
||||||
struct list_head priority_tickets;
|
struct list_head priority_tickets;
|
||||||
struct list_head tickets;
|
struct list_head tickets;
|
||||||
|
/*
|
||||||
|
* tickets_id just indicates the next ticket will be handled, so note
|
||||||
|
* it's not stored per ticket.
|
||||||
|
*/
|
||||||
u64 tickets_id;
|
u64 tickets_id;
|
||||||
|
|
||||||
struct rw_semaphore groups_sem;
|
struct rw_semaphore groups_sem;
|
||||||
|
|
Loading…
Reference in a new issue