Home
last modified time | relevance | path

Searched hist:"935 e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc" (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dcheck-integrity.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Ddev-replace.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Dvolumes.hdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Dscrub.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Dtransaction.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Dvolumes.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Ddisk-io.cdiff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks

total_size will be changed when resizing a device, and disk_total_size
will be changed if resizing is successful. Meanwhile, the on-disk super
blocks of the previous transaction might not be updated. Considering
the consistency of the metadata in the previous transaction, We should
use the size in the previous transaction to check if the super block is
beyond the boundary of the device. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>