You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gulam Mohamed reported [1] a problem with 18048c1af783 ("loop: Fix a race between loop detach and loop open") [2] which will be in upcomming 6.11. Various tests fail due the device is closed at the end of the test and the test cases are expecting for the results which can occur after the device is detached.
Since commit 18048c1af783 ("loop: Fix a race between loop detach and loop open")
detach operation is deferred to the last close of the device.
Make tst_detach_device_by_fd() also close dev_fd, and leave it up to
caller to re-open it for further use.
Closes: linux-test-project/ltp#1175
Reported-by: Gulam Mohamed <[email protected]>
Signed-off-by: Jan Stancek <[email protected]>
Reviewed-by: Petr Vorel <[email protected]>
Tested-by: Petr Vorel <[email protected]>
Reviewed-by: Li Wang <[email protected]>
(cherry picked from commit c02d8dd)
Bug: 358122883
Test: atest vts_ltp_test_x86_64:syscalls.ioctl_loop06_64bit
Change-Id: I2cf97f50765190503e66af4eed546dbd90ac90cd
Signed-off-by: Edward Liaw <[email protected]>
Gulam Mohamed reported [1] a problem with 18048c1af783 ("loop: Fix a race between loop detach and loop open") [2] which will be in upcomming 6.11. Various tests fail due the device is closed at the end of the test and the test cases are expecting for the results which can occur after the device is detached.
Gulam reported these tests are failing:
I did some testing via rapido-linux and only these fail (ioctl_loop05 not tested):
[1] https://lore.kernel.org/ltp/IA1PR10MB724059C5A7A69CE2A4AF257698DF2@IA1PR10MB7240.namprd10.prod.outlook.com/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=18048c1af7836b8e31739d9eaefebc2bf76261f7
[3] https://lore.kernel.org/ltp/20240711135507.GA84439@pevik/
The text was updated successfully, but these errors were encountered: