From: Wang Xiaoguang Date: Mon, 7 Nov 2016 07:59:16 +0000 (+0800) Subject: btrfs: add necessary comments about tickets_id X-Git-Tag: v4.10-rc1~68^2~24^2~42 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=939659dfd3ed4ff36dde532782207cfb0e5fbcf6;p=karo-tx-linux.git 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 Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e4e01a99201a..b26b8b363f7f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -426,6 +426,10 @@ struct btrfs_space_info { struct list_head ro_bgs; struct list_head priority_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; struct rw_semaphore groups_sem;