You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's really no need to allocate an iobuf pool for the CLI.
It's a waste of memory and CPU to do all this allocation for CLI command
invocation.
Fixes: gluster#2963
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
There's really no need to allocate an iobuf pool for the CLI.
It's a waste of memory and CPU to do all this allocation for CLI command
invocation.
Fixes: gluster#2963
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
* cli.c: do not use iobuf pool
There's really no need to allocate an iobuf pool for the CLI.
It's a waste of memory and CPU to do all this allocation for CLI command
invocation.
Fixes: #2963
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
* iobuf.c: make iobuf_get_from_small() non static and use in cli
Re-use the function, by making it non-static.
(Remove the unneeded use of 'ret' in the function while at it).
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
There's really no need for a whole iobuf pool with all its allocations, just for the CLI command invocation.
The text was updated successfully, but these errors were encountered: