-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1548: nvme/opts: parse timeouts in humantime r=tiagolobocastro a=tiagolobocastro fix(nvme/kato): adjust to spdk minimum SPDK minimum KATO is 10s, so setting 1s is pointless. Also the spec does suggest setting a sufficiently high KATO on a fabric, so perhaps we might want to consider increasing it in the future. Signed-off-by: Tiago Castro <[email protected]> --- fix(iobuf): increase large iobuf pool size Addresses warning from spdk itself: mayastor::spdk:transport.c:282] The num_shared_buffers value (2048) is larger than the available iobuf pool size (1024). Please increase the iobuf pool sizes. Also reduce size to power of 2 - 1 as recommended in spdk ticket: It’s always best to specify a value for –n that is one less than a power of two (2^x -1) because of the way rings work in DPDK. You end up allocating a ring twice the size for the one extra element between 511 and 512 for example. Signed-off-by: Tiago Castro <[email protected]> --- chore: silence flush not supported IO We don't keep any caching, so we don't actually need to make use of it anyway. TODO: do we need to even send flush? Signed-off-by: Tiago Castro <[email protected]> --- chore: show starting configuration as info Signed-off-by: Tiago Castro <[email protected]> --- feat(nvme/opts): parse timeouts in humantime This allows us to specify, for example, NVME_TIMEOUT=60s Signed-off-by: Tiago Castro <[email protected]> Co-authored-by: Tiago Castro <[email protected]>
- Loading branch information
Showing
5 changed files
with
118 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters