Public bug reported:

While tracking down a lockup while running `lvremove` on a 2TB sized LV with 
4.15.0-58.64, I noticed that upgrading to 4.15.0-62.69 makes the operation 
succeed, but still print:
```
/dev/mapper/test: BLKDISCARD ioctl at offset 1048576 size 6442450944000 failed: 
Operation not supported.
```

Looking into the commits before 4.15.0-58.64 it seems that the issue got
introduced with 3c2f83d8bcbedeb89efcaf55ae64a99dce9d7e34 in ubuntu-
bionic.

AFAIS the commit did not make it into 4.14 or 4.19 stable, but got pulled from 
4.18.
see https://www.mail-archive.com/[email protected]/msg1897789.html 
for a short discussion why it did not got pulled into the LTS series upstream.

While a55264933f12c2fdc28a66841c4724021e8c1caf fixes the infinite loop
on `lvremove` it seems that a backport of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4800bf7bc8c725e955fcbc6191cc872f43f506d3
would correctly address the issue.

Glad to provide further information and help testing!

Thanks!

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1843324

Title:
  Bionic (4.15.0-62.69): lvremove of 2TB LV reports: 'BLKDISCARD ioctl
  operation not supported'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1843324/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to