aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2017-02-13 22:48:30 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2017-02-16 17:20:12 -0800
commit75d65361cf3c0dae2af970c305e19c727b28a510 (patch)
tree9966e057017ba46f31d7ff653934290b1eb62e13 /tools/perf/scripts/python
parentxfs: handle indlen shortage on delalloc extent merge (diff)
downloadlinux-75d65361cf3c0dae2af970c305e19c727b28a510.tar.gz
linux-75d65361cf3c0dae2af970c305e19c727b28a510.zip
xfs: split indlen reservations fairly when under reserved
Certain workoads that punch holes into speculative preallocation can cause delalloc indirect reservation splits when the delalloc extent is split in two. If further splits occur, an already short-handed extent can be split into two in a manner that leaves zero indirect blocks for one of the two new extents. This occurs because the shortage is large enough that the xfs_bmap_split_indlen() algorithm completely drains the requested indlen of one of the extents before it honors the existing reservation. This ultimately results in a warning from xfs_bmap_del_extent(). This has been observed during file copies of large, sparse files using 'cp --sparse=always.' To avoid this problem, update xfs_bmap_split_indlen() to explicitly apply the reservation shortage fairly between both extents. This smooths out the overall indlen shortage and defers the situation where we end up with a delalloc extent with zero indlen reservation to extreme circumstances. Reported-by: Patrick Dung <mpatdung@gmail.com> Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
f='/linux/commit/include/soc/mscc/ocelot.h?id=cacea62fcdda5656cb5b8104e73a00e043b61730&follow=1'>net: mscc: ocelot: don't use NPI tag prefix for the CPU port moduleVladimir Oltean4-14/+12 2021-01-29net: mscc: ocelot: reapply bridge forwarding mask on bonding join/leaveVladimir Oltean1-27/+36 2021-01-29net: mscc: ocelot: store a namespaced VCAP filter IDVladimir Oltean4-9/+24 2021-01-29net: mscc: ocelot: export VCAP structures to include/soc/msccVladimir Oltean4-291/+294 2021-01-29net: dsa: tag_8021q: add helpers to deduce whether a VLAN ID is RX or TX VLANVladimir Oltean2-2/+27 2021-01-29vmxnet3: Remove buf_info from device accessible structuresRonak Doshi2-33/+15 2021-01-29net: dsa: hellcreek: Add missing TAPRIO dependencyKurt Kanzenbach1-0/+1 2021-01-29net: proc: speedup /proc/net/netstatEric Dumazet1-14/+36 2021-01-29net: Remove redundant calls of sk_tx_queue_clear().Kuniyuki Iwashima1-1/+10 2021-01-29net: hns3: add debugfs support for tm nodes, priority and qset infoGuangbin Huang5-1/+218 2021-01-29net: hns3: add interfaces to query information of tm priority/qsetGuangbin Huang3-1/+234 2021-01-29ip_gre: add csum offload support for gre headerXin Long2-14/+20 2021-01-29net: support ip generic csum processing in skb_csum_hwoffload_helpXin Long1-1/+12 2021-01-29net: mhi: Get rid of local rx queue countLoic Poulain1-8/+5 2021-01-29net: mhi: Get RX queue size from MHI coreLoic Poulain1-3/+3 2021-01-29docs: networking: timestamping: fix section title markupJan Luebbe1-1/+2 2021-01-29net/ethernet: convert to use module_platform_driver in octeon_mgmt.cdingsenjie1-12/+1 2021-01-29net: atm: pppoatm: use new API for wakeup taskletEmil Renner Berthing1-4/+5 2021-01-29net: atm: pppoatm: use tasklet_init to initialize wakeup taskletEmil Renner Berthing1-7/+3 2021-01-29net/mlx5: DR, Allow SW steering for sw_owner_v2 devicesYevgeny Kliteynik4-16/+29 2021-01-29net/mlx5: DR, Copy all 64B whenever replacing STE in the head of miss-listYevgeny Kliteynik1-4/+15 2021-01-29net/mlx5: DR, Use HW specific logic API when writing STEYevgeny Kliteynik6-13/+60 2021-01-29net/mlx5: DR, Use the right size when writing partial STE into HWYevgeny Kliteynik2-5/+9 2021-01-29net/mlx5: DR, Add STEv1 modify header logicYevgeny Kliteynik2-0/+273 2021-01-29net/mlx5: DR, Add STEv1 action apply logicYevgeny Kliteynik2-0/+458 2021-01-29net/mlx5: DR, Add STEv1 setters and gettersYevgeny Kliteynik2-0/+133 2021-01-29net/mlx5: DR, Allow native protocol support for HW STEv1Yevgeny Kliteynik1-4/+8 2021-01-29net/mlx5: DR, Add HW STEv1 match logicYevgeny Kliteynik4-2/+911