• Dave Chinner's avatar
    xfs: reduce the number of AIL push wakeups · e677d0f9
    Dave Chinner authored
    The xfaild often tries to rest to wait for congestion to pass of for
    IO to complete, but is regularly woken in tail-pushing situations.
    In severe cases, the xfsaild is getting woken tens of thousands of
    times a second. Reduce the number needless wakeups by only waking
    the xfsaild if the new target is larger than the old one. Further
    make short sleeps uninterruptible as they occur when the xfsaild has
    decided it needs to back off to allow some IO to complete and being
    woken early is counter-productive.
    Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    e677d0f9
xfs_super.c 48.5 KB