OSDN Git Service

btrfs: Document consistency of transaction->io_bgs list
authorNikolay Borisov <nborisov@suse.com>
Thu, 8 Feb 2018 16:25:18 +0000 (18:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:34 +0000 (15:09 +0200)
commit45ae2c1841c31c90077cf427c09ea0e83e381026
treeaad724668ba992f9e3128796be555a78081898c7
parentbf6d7d4900c0d0c15dcd1baa1b65e6519bf4abef
btrfs: Document consistency of transaction->io_bgs list

The reason why io_bgs can be modified without holding any lock is
non-obvious. Document it and reference that documentation from the
respective call sites.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/transaction.h