[Drbd-dev] [PATCH 2/3] drbd: remove reliance on bdi congestion
Joel Colledge
joel.colledge at linbit.com
Fri Sep 9 10:18:52 CEST 2022
Hi Michael,
> A serries of commits between 5.17 and 5.18 removed inode_congested()
> and all it's related functions because "No bdi reports congestion any
> more, so this always returns 'false'".
>
> This commit just returns false in both places bdi_congested() was
> called... which probably isn't the best long-term fix.
I suspect this is the best we can do in both cases. Perhaps with a
comment explaining why we just return false. The alternative would be
to invent some kind of heuristic to guess whether the backing device
is congested. That sounds like an intractable problem.
It would be interesting to know since when "No bdi reports congestion
any more". That would tell us how long we need to keep the compat
code.
It would also be interesting to know whether any real user depends on
this at all, but we'll never know that.
Please go ahead and add the compat code.
Thanks,
Joel
More information about the drbd-dev
mailing list