summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/fs_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-10-19 09:23:10 +0200
committerJakob Unterwurzacher2017-10-19 09:23:10 +0200
commit29445c976d200f6e734eae56d9665fd4098f0a43 (patch)
tree10ccf7ff0c46e1eaa5f649974c0a9c23e406440f /internal/fusefrontend/fs_dir.go
parent2783eadc8f69ae5803a75dbfccd7ea1862cdfe51 (diff)
contentenc: reserve one additional block in CReqPool
...to account for unaligned reads. I have not seen this happen in the wild because the kernel always seems to issue 4k-aligned requests. But the cost of the additional block in the pool is low and prevents a buffer overrun panic when an unaligned read does happen.
Diffstat (limited to 'internal/fusefrontend/fs_dir.go')
0 files changed, 0 insertions, 0 deletions