summaryrefslogtreecommitdiff
path: root/sound/oss
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-12-22 17:13:54 -0800
committerDavid Sterba <dsterba@suse.com>2017-01-03 17:29:50 +0100
commitc2931667c83ded6504b3857e99cc45b21fa496fb (patch)
treee427359939b7ae3c7ef9eda9839ca3ccd0739b98 /sound/oss
parent781feef7e6befafd4d9787d1f7ada1f9ccd504e4 (diff)
Btrfs: adjust outstanding_extents counter properly when dio write is split
Currently how btrfs dio deals with split dio write is not good enough if dio write is split into several segments due to the lack of contiguous space, a large dio write like 'dd bs=1G count=1' can end up with incorrect outstanding_extents counter and endio would complain loudly with an assertion. This fixes the problem by compensating the outstanding_extents counter in inode if a large dio write gets split. Reported-by: Anand Jain <anand.jain@oracle.com> Tested-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions
I'm not fond about unused crap in the kernel and the dynamic range, which we admittedly should have done right away, allows us to remove quite some of the hardcoded states, i.e. those which have no ordering requirements. So doing the right thing now is better than having an smaller intermediate solution which needs to be reworked anyway" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Provide dynamic range for prepare stage perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug
Diffstat (limited to 'tools/testing/selftests/exec/.gitignore')