[DragonFlyBSD - Bug #3246] (New) HAMMER2 unable to handle ENOSPC properly
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Fri Sep 4 11:04:59 PDT 2020
Issue #3246 has been reported by tkusumi.
----------------------------------------
Bug #3246: HAMMER2 unable to handle ENOSPC properly
http://bugs.dragonflybsd.org/issues/3246
* Author: tkusumi
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
Although different from a situation in HAMMER1, HAMMER2 still can't properly handle ENOSPC.
# dd if=/path/to/something of=/path/to/hammer2/file
never ends while HAMMER2 internally recognizes ENOSPC.
The problem seems to be that HAMMER2's strategy vop uses asynchronous xop completion (while other HAMMER2's vops mostly wait for xops to complete).
To be more specific, write vop -> ... -> strategy vop -> strategy xop -> ... -> hammer2_assign_physical() -> hammer2_chain_create() hits ENOSPC (in my case when allocating indirect block), but that's never handled by the front end in vop.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list