• Nathan Scott's avatar
    [XFS] Improve xfsbufd delayed write submission patterns, after blktrace · f07c2250
    Nathan Scott authored
    analysis.
    
    Under a sequential create+allocate workload, blktrace reported backward
    writes being issued by xfsbufd, and frequent inappropriate queue unplugs.
    We now insert at the tail when moving from the delwri lists to the temp
    lists, which maintains correct ordering, and we avoid unplugging queues
    deep in the submit paths when we'd shortly do it at a higher level anyway.
    blktrace now reports much healthier write patterns from xfsbufd for this
    workload (and likely many others).
    
    SGI-PV: 954310
    SGI-Modid: xfs-linux-melb:xfs-kern:26396a
    Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
    Signed-off-by: default avatarTim Shimmin <tes@sgi.com>
    f07c2250
xfs_buf.c 41.3 KB