mirror of
https://github.com/ceph/ceph
synced 2025-01-04 10:12:30 +00:00
Merge pull request #12860 from liupan1111/wip-fix-dpdk-prefix
async: fixed the error "Cause: Cannot create lock on '/var/run/.rte_c… Reviewed-by: Haomai Wang <haomai@xsky.com>
This commit is contained in:
commit
2945bf1b50
@ -91,6 +91,12 @@ namespace dpdk {
|
||||
args.push_back(string2vector("--no-huge"));
|
||||
}
|
||||
|
||||
std::string rte_file_prefix;
|
||||
rte_file_prefix = "rte_";
|
||||
rte_file_prefix += c->_conf->name.to_str();
|
||||
args.push_back(string2vector("--file-prefix"));
|
||||
args.push_back(string2vector(rte_file_prefix));
|
||||
|
||||
std::vector<char*> cargs;
|
||||
|
||||
for (auto&& a: args) {
|
||||
|
Loading…
Reference in New Issue
Block a user