/openbmc/linux/fs/btrfs/ |
H A D | delayed-ref.h | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | delayed-ref.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | relocation.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | ctree.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | transaction.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | tree-log.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | file.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | ioctl.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | ctree.h | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | extent-tree.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | disk-io.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|
H A D | inode.c | diff 66d7e7f09f77456fe68683247d77721032a00ee5 Mon Sep 12 08:26:38 CDT 2011 Arne Jansen <sensille@gmx.net> Btrfs: mark delayed refs as for cow
Add a for_cow parameter to add_delayed_*_ref and pass the appropriate value from every call site. The for_cow parameter will later on be used to determine if a ref will change anything with respect to qgroups.
Delayed refs coming from relocation are always counted as for_cow, as they don't change subvol quota.
Also pass in the fs_info for later use.
btrfs_find_all_roots() will use this as an optimization, as changes that are for_cow will not change anything with respect to which root points to a certain leaf. Thus, we don't need to add the current sequence number to those delayed refs.
Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
|