Project

General

Profile

Actions

Feature #11822

closed

[rbd] support gb/tb units in rbd create/resize

Added by Vasu Kulkarni almost 9 years ago. Updated almost 9 years ago.

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

100%

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

Description

Currently rbd create/resize uses mb as unit for size, its useful to provide g and t as well so that user can simply specify sizes in gb and tb.

Actions #1

Updated by Josh Durgin almost 9 years ago

  • Project changed from Ceph to rbd

Yes, we should use the generic parsing introduced for units like this (and make it case insensitive if it still is).

Actions #2

Updated by Vikhyat Umrao almost 9 years ago

Hi Josh,

I have sent a patch for it.

https://github.com/vumrao/ceph/commit/718c41c6ec77e703557de6d3d59d52a2a5cb4fda

Please review this patch. I have done basic unit testing and it is working fine.
Still need to modify doc and man pages and release notes.

Thanks and Regards,
Vikhyat

Actions #4

Updated by Abhishek Lekshmanan almost 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Vikhyat Umrao almost 9 years ago

  • Status changed from In Progress to Resolved
  • Assignee set to Vikhyat Umrao
Actions #6

Updated by Vikhyat Umrao almost 9 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF