Project

General

Profile

Actions

Feature #2296

closed

librbd: allow resizing to arbitrary sizes

Added by Josh Durgin about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Right now resizing to a non-object-size multiple will round down the remainder. With discard support, we support this easily by discarding partial objects if necessary. This can be tested with fsx.

Actions #1

Updated by Sage Weil about 12 years ago

  • Target version set to v0.47
  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 1201
Actions #2

Updated by Sage Weil about 12 years ago

  • Status changed from New to 12

more importantly, we need to either error out with EINVAL if it's not a block multiple, or do it... currently we silently misbehave.

Actions #3

Updated by Sage Weil about 12 years ago

  • Status changed from 12 to Fix Under Review
  • Target version changed from v0.47 to v0.46

see wip-discard

Actions #4

Updated by Sage Weil almost 12 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF