Instead of reporting 4096, the kernel reports 1 for
cat /sys/dev/block/8:0/queue/discard_granularity
Version-Release number of selected component (if applicable):
4.4.2-301.fc23.x86_64
4.4.3-300.fc23.x86_64
Not affected: 4.3.5-300.fc23.x86_64
Additional info:
This makes lvremove not discard logical volumes, since it assumes that the granularity is always bigger or equal to 512 for devices supporting discard/trim.
Description of problem:
See bug 1313377
Instead of reporting 4096, the kernel reports 1 for block/8: 0/queue/ discard_ granularity
cat /sys/dev/
Version-Release number of selected component (if applicable): fc23.x86_ 64 fc23.x86_ 64
4.4.2-301.
4.4.3-300.
Not affected: 4.3.5-300. fc23.x86_ 64
Additional info:
This makes lvremove not discard logical volumes, since it assumes that the granularity is always bigger or equal to 512 for devices supporting discard/trim.