Home
last modified time | relevance | path

Searched hist:d6397bae (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dvolumes.hd6397bae Mon Apr 27 06:29:03 CDT 2009 Chris Ball <cjb@laptop.org> Btrfs: When shrinking, only update disk size on success

Previously, we updated a device's size prior to attempting a shrink
operation. This patch moves the device resizing logic to only happen if
the shrink completes successfully. In the process, it introduces a new
field to btrfs_device -- disk_total_bytes -- to track the on-disk size.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

H A Dvolumes.cd6397bae Mon Apr 27 06:29:03 CDT 2009 Chris Ball <cjb@laptop.org> Btrfs: When shrinking, only update disk size on success

Previously, we updated a device's size prior to attempting a shrink
operation. This patch moves the device resizing logic to only happen if
the shrink completes successfully. In the process, it introduces a new
field to btrfs_device -- disk_total_bytes -- to track the on-disk size.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
d6397bae Mon Apr 27 06:29:03 CDT 2009 Chris Ball <cjb@laptop.org> Btrfs: When shrinking, only update disk size on success

Previously, we updated a device's size prior to attempting a shrink
operation. This patch moves the device resizing logic to only happen if
the shrink completes successfully. In the process, it introduces a new
field to btrfs_device -- disk_total_bytes -- to track the on-disk size.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>