Thread View: muc.lists.freebsd.fs
1 messages
1 total messages
Started by bugzilla-noreply
Fri, 27 Nov 2026 20:28
[Bug 223786] Remounting a UFS filesystem read-only takes very long time
Author: bugzilla-noreply
Date: Fri, 27 Nov 2026 20:28
Date: Fri, 27 Nov 2026 20:28
26 lines
2963 bytes
2963 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223786 --- Comment #13 from Aadya Chinubhai <aadyachinubhai@gmail.com> --- re. I think the way to go is to flush in rounds. Start async MNT_NOWAIT writes on all the vnodes, wait for them to finish, and go again until a round starts no new writes. Soft Updates already hides the pointers that are not safe to write yet, so the ordering stays the same. I tried this from userland by running sync a few times before the remount. On 3000 new files the writes dropped from about 6000 to about 3000. On 1000 nested directories the remount went from 3s to about 0.1s. I think the inode blocks coalesce because the non waiting ffs_update uses bdwrite, so one block write covers many inodes. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads