Merge pull request #693 from mahkoh/jorth/increase-cmsg-buf-size
io_uring: increase cmsg_buf size from 256 to 1024
This commit is contained in:
commit
7562479aca
1 changed files with 3 additions and 1 deletions
|
|
@ -524,7 +524,9 @@ impl IoUringData {
|
|||
}
|
||||
|
||||
fn cmsg_buf(&self) -> Buf {
|
||||
self.cached_cmsg_bufs.pop().unwrap_or_else(|| Buf::new(256))
|
||||
self.cached_cmsg_bufs
|
||||
.pop()
|
||||
.unwrap_or_else(|| Buf::new(1024))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue