First page Back Continue Last page Overview Graphics
Reduce File Unlink/Truncate Latency
Truncating a large indirect-mapped files is slow and synchronous. Root cause: there is limit to the size of a single journal transaction.
Proposed solutions:
- Background file unlink/trucate
- Attempt to fit into one transaction if possible
- Store i_disksize to expanded inode.