aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorPetr Vorel <[email protected]>2020-11-12 16:50:05 +0000
committerJens Axboe <[email protected]>2020-11-12 20:59:04 +0000
commitc01a21b77722db0474bbcc4eafc8c4e0d8fed6d8 (patch)
treec0400539b57e94605378866bddd937385453690f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentblock: add a return value to set_capacity_revalidate_and_notify (diff)
downloadkernel-c01a21b77722db0474bbcc4eafc8c4e0d8fed6d8.tar.gz
kernel-c01a21b77722db0474bbcc4eafc8c4e0d8fed6d8.zip
loop: Fix occasional uevent drop
Commit 716ad0986cbd ("loop: Switch to set_capacity_revalidate_and_notify") causes an occasional drop of loop device uevent, which are no longer triggered in loop_set_size() but in a different part of code. Bug is reproducible with LTP test uevent01 [1]: i=0; while true; do i=$((i+1)); echo "== $i ==" lsmod |grep -q loop && rmmod -f loop ./uevent01 || break done Put back triggering through code called in loop_set_size(). Fix required to add yet another parameter to set_capacity_revalidate_and_notify(). [1] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/uevents/uevent01.c [hch: rebased on a different change to the prototype of set_capacity_revalidate_and_notify] Cc: [email protected] # v5.9 Fixes: 716ad0986cbd ("loop: Switch to set_capacity_revalidate_and_notify") Reported-by: <[email protected]> Signed-off-by: Petr Vorel <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions