HomeFreeBSD

trim(8): candelete() returns wrong results because fd is opened O_WRONLY

Description

trim(8): candelete() returns wrong results because fd is opened O_WRONLY

This was discovered while using trim(8) to test bhyve trim

Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D24371

Details

Provenance
allanjudeAuthored on Apr 23 2020, 8:14 PM
Parents
rG22769bbe30b1: Add VIRTIO_BLK_T_DISCARD (TRIM) support to the bhyve virtio-blk backend
Branches
Unknown
Tags
Unknown

Event Timeline