Re: [PATCH 0/3] btrfs: zoned: fix zoned extent allocator
From: Shinichiro Kawasaki <hidden>
Date: 2021-12-29 00:22:36
On Dec 08, 2021 / 17:18, David Sterba wrote:
On Wed, Dec 08, 2021 at 12:35:46AM +0900, Naohiro Aota wrote:quoted
There are several reports of hung_task on btrfs recently. - https://github.com/naota/linux/issues/59 - https://lore.kernel.org/linux-btrfs/CAJCQCtR=jztS3P34U_iUNoBodExHcud44OQ8oe4Jn3TK=1yFNw@mail.gmail.com/T/ (local)
(snip)
quoted
While we are debugging this issue, we found some faulty behaviors on the zoned extent allocator. It is not the root cause of the hung as we see a similar report also on a regular btrfs. But, it looks like that early -ENOSPC is, at least, making the hung to happen often. So, this series fixes the faulty behaviors of the zoned extent allocator. Patch 1 fixes a case when allocation fails in a dedicated block group. Patches 2 and 3 fix the chunk allocation condition for zoned allocator, so that it won't block a possible chunk allocation. Naohiro Aota (3): btrfs: zoned: unset dedicated block group on allocation failure btrfs: add extent allocator hook to decide to allocate chunk or not btrfs: zoned: fix chunk allocation condition for zoned allocatorAll seem to be relevant for 5.16-rc so I'll add them to misc-next now to give it some testing, pull request next week. Thanks.
Hello David, thanks for your maintainer-ship always. When I run my test set for zoned btrfs configuration, I keep on observing the issue that Naohiro addressed with the three patches. The patches are not yet merged to 5.16-rc7. Can I expect they get merged to rc8? -- Best Regards, Shin'ichiro Kawasaki