Skip to contentSkip to conversation

exfat: check disk status during buffer write

PATCH 崔东亮 (Dongliang Cui) 2 participants 2 messages Aug 1, 2024 VFS

lore
Share & tools
lore
#0 lore raw

Besides the additional checks for the shutdown flag already mentioned the subject is now incorrect I think, it should talk about implementing shutdown handling.

In case you haven't done so yet, please also see if exfat now passes the various testcases in xfstests that exercise the shutdown path.

Otherwise this looks reasonable to me, thanks for the work!

Hi Christoph,

Thank you for your suggestion. I think the current patch is primarily aimed at addressing the issue of hotplug and ensuring writers are notified when a device has been ejected.

Previously, exfat didn't have a shutdown process inherently, and hotplug didn't pose any significant issues, except for the one we're discussing in this email.

Therefore, regarding what specific actions should be taken during shutdown, I would appreciate your input or any suggestions from Sungjong and Namjae.

Additionally, can the shutdown handling be supplemented with another patch if there is indeed a need to implement some exfat shutdown processes?

HI Sungjong and Namjae.

Based on the above, what do you think, or do you have any suggestions?

#1 lore raw

2024년 8월 1일 (목) 오후 2:30, 崔东亮 (Dongliang Cui) <[email protected]>님이 작성:

Quoted 13 lines

Besides the additional checks for the shutdown flag already mentioned the subject is now incorrect I think, it should talk about implementing shutdown handling.

In case you haven't done so yet, please also see if exfat now passes the various testcases in xfstests that exercise the shutdown path.

Otherwise this looks reasonable to me, thanks for the work!

Hi Christoph,

Thank you for your suggestion. I think the current patch is primarily aimed at addressing the issue of hotplug and ensuring writers are notified when a device has been ejected.

Previously, exfat didn't have a shutdown process inherently, and hotplug didn't pose any significant issues, except for the one we're discussing in this email.

Quoted 7 lines

Therefore, regarding what specific actions should be taken during shutdown, I would appreciate your input or any suggestions from Sungjong and Namjae.

Additionally, can the shutdown handling be supplemented with another patch if there is indeed a need to implement some exfat shutdown processes?

HI Sungjong and Namjae.

Based on the above, what do you think, or do you have any suggestions?

There is no reason to split it into two and I would prefer to apply it as one patch.
I would appreciate it if you could send the list an updated v4 patch including what Christoph and I pointed out.