dattobd icon indicating copy to clipboard operation
dattobd copied to clipboard

It might be possible to yield an incorrect snapshot if trim isn't handled correctly.

Open nixomose opened this issue 7 years ago • 1 comments

Need to check if trim commands are cowed, but if they are not, then the drive can conceivably write over the block before we cow it and when we do go to cow it, we will not be producing the snapshot of that block at the point in time, but some write-after-trimmed version instead.

nixomose avatar Feb 06 '18 14:02 nixomose

I think handling this correctly should just be a matter of removing the !bio_is_discard() check from tracer_should_trace_bio(). We will need to ensure this works before committing it though.

tcaputi avatar Feb 14 '18 16:02 tcaputi