+35
−20
+6
−1
Loading
When a chunk has been fully remapped, we are going to set its num_stripes to 0, as it will no longer represent a physical location on disk. Change tree-checker to allow for this, and fix read_one_chunk() to avoid a divide by zero. Reviewed-by:Boris Burkov <boris@bur.io> Signed-off-by:
Mark Harmstone <mark@harmstone.com> Signed-off-by:
David Sterba <dsterba@suse.com>