Bug 188080 - kernel dm snapshots: Incorrect processing of incorrect chunk size
Summary: kernel dm snapshots: Incorrect processing of incorrect chunk size
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact: Brian Brock
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
Reported: 2006-04-05 21:08 UTC by Alasdair Kergon
Modified: 2007-11-30 22:07 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2006-08-10 23:04:14 UTC

Attachments (Terms of Use)
dm-snapshot-unify-chunk_size.patch (5.58 KB, patch)
2006-04-05 21:08 UTC, Alasdair Kergon
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0575 normal SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 4 2006-08-10 04:00:00 UTC

Description Alasdair Kergon 2006-04-05 21:08:10 UTC
Persistent snapshots currently store a private copy of the chunk size.
Userspace also supplies the chunk size when loading a snapshot.
Ensure consistency by only storing the chunk_size in one place and
fix stuff up if the two differ.

Causes incorrect 'percent full' to be reported amongst other problems.

Comment 1 Alasdair Kergon 2006-04-05 21:08:10 UTC
Created attachment 127371 [details]

Comment 4 Jason Baron 2006-05-09 17:16:38 UTC
committed in stream U4 build 34.26. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/

Comment 7 Red Hat Bugzilla 2006-08-10 23:04:17 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.