Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Feb 2024 20:49:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 268005] rsync to FAT32 flash drive gets "Freeing unused sector" errors
Message-ID:  <bug-268005-3630-ybjQWbB4mG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268005-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268005-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268005

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se@FreeBSD.org
           Assignee|fs@FreeBSD.org              |se@FreeBSD.org
             Status|New                         |Open

--- Comment #5 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
I have been able to reproduce the issue with alloc/free tracing added to
msdosfs:

usemap_free: cluster=3D185185
usemap_alloc: cluster=3D361562
usemap_free: cluster=3D185186
usemap_alloc: cluster=3D361563
/mnt/FAT32: Freeing unused sector 185186 2 fffffff8
/dev/md0: remounting read-only due to corruption
remounted /dev/md0 read-only

In this test run block 185186 has been freed twice in a row.

I'll ltry to identify the code path that causes usemap_free() to be called
twice for a single vnode operation.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268005-3630-ybjQWbB4mG>