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

Tools directory changes: #31

Merged
merged 2 commits into from
Oct 6, 2022
Merged

Conversation

ajfloeder
Copy link
Contributor

  • Add readme.md demonstrating expected tool script usage for namespace manipulation
  • Add examples to nvme.sh
  • Extend create-write-delete.sh to format the namespace before deleting the namespace to see if delete_ns speeds up.

Signed-off-by: Anthony Floeder [email protected]

Add readme.md that demonstrates usage

Signed-off-by: Anthony Floeder [email protected]

- Add readme.md demonstrating expected tool script usage for namespace manipulation
- Add examples to nvme.sh
- Extend create-write-delete.sh to format the namespace before deleting the namespace to see if delete_ns speeds up.

Signed-off-by: Anthony Floeder <[email protected]>

Add readme.md that demonstrates usage

Signed-off-by: Anthony Floeder <[email protected]>
tools/nvme.sh Outdated
./nvme.sh -t delete 1
./nvme.sh cmd id-ctrl | grep -E "^fr " # firmware level
./nvme.sh cmd id-ctrl | grep -E "^mn " # model name
./nvme.sh cmd format -f -n <namespace id> # format specified namespace
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use long form names so they are not as cryptic to the reader

@@ -57,6 +57,17 @@ case "$SIZE" in
# Delete the logical volume to tidy up
./lvm.sh delete

# Format the namespace to speed up deletion
./nvme.sh cmd format -f -n 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Indent issue

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see it.

tools/readme.md Outdated
## Example script to walk the cycle

```bash
create-write-delete-namespaces.sh*
Copy link
Contributor

Choose a reason for hiding this comment

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

do you want the wild card at the end?

Signed-off-by: Anthony Floeder <[email protected]>
@ajfloeder ajfloeder force-pushed the bugfix/readme-and-nvme-enhancements branch from 1a8978f to ce0ed49 Compare October 6, 2022 21:31
@ajfloeder ajfloeder merged commit b7f6cc6 into master Oct 6, 2022
@ajfloeder ajfloeder deleted the bugfix/readme-and-nvme-enhancements branch October 6, 2022 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants