Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbd: --max_part and --nbds_max options for nbd map #12379

Merged
merged 1 commit into from Dec 9, 2016
Merged

rbd: --max_part and --nbds_max options for nbd map #12379

merged 1 commit into from Dec 9, 2016

Conversation

liupan1111
Copy link
Contributor

…ep consistent with rbd_nbd map

Fixes: http://tracker.ceph.com/issues/18186
Signed-off-by: Pan Liu pan.liu@istuary.com

@liupan1111
Copy link
Contributor Author

@trociny , as we talked, I create a new pr for rbd nbd map, please take a look.

@trociny trociny self-assigned this Dec 8, 2016
@trociny trociny changed the title rbd: add max_part and nbds_max options in rbd command, in order to ke… rbd: --max_part and --nbds_max options for nbd map Dec 8, 2016
@@ -1102,6 +1103,8 @@
--read-only mount read-only
--exclusive forbid other clients write
--device arg specify nbd device
--nbds_max arg Override for module param nbds_max
--max_part arg Override for module param max_part

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description for other options starts in lower case, please, be consistent.

Also it looks it would look more consistent without "for": "override module param nbds_max"...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trociny I agree. I have modified, please take a look. Thanks!

("device", po::value<std::string>(), "specify nbd device");
("device", po::value<std::string>(), "specify nbd device")
("nbds_max", po::value<std::string>(), "Override for module param nbds_max")
("max_part", po::value<std::string>(), "Override for module param max_part");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liupan1111 It looks you forgot to update here too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trociny yeah... modified. Sorry for the trouble.

trociny pushed a commit that referenced this pull request Dec 8, 2016
rbd: --max_part and --nbds_max options for nbd map #12379
Copy link
Contributor

@trociny trociny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trociny trociny merged commit 21c0c59 into ceph:master Dec 9, 2016
@liupan1111 liupan1111 deleted the wip-fix-rbd-params branch December 9, 2016 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants