Skip to contentSkip to conversation

ext4: guarantee already started handles to successfully finish while ro remounting

PATCH Daeho Jeong 1 participant 1 message May 6, 2016

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

So can you share a reproducer for this issue? Because my initial thinking is that checks during remount should fail the remount with EBUSY if there is any modification outstanding... If they don't we have a racy remount and fs-freezing code, which is a bug.

Hi Jan,

Sorry to make you confused. My patch description was little wrong. I meant only the emergency read-only remount case, not the normal read-only remount case. Android is currently using emergency ro remount for the device shutdown procedure.

We can easily reproduce this problem, but we didn't make a TC for xfstest yet. If we did that, I will let you know.