jthornber/linux-2.6

discard occuring in read only mode?

jthornber opened this issue · 0 comments

115:06 < snitm> ejt: why are we allowing discards when the pool transitions to read-only?
15:12 < ejt> maybe we're allowing them to be passed down, but not freeing mappings?
5:29 < snitm> ejt: ok, I see, yeah pool->process_prepared_discard = process_prepared_discard_passdown
15:31 < snitm> ejt: but pool->process_discard = process_discard; .. with no conditional behavior based on read-only mode in process_discard()