]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "s390/dasd: Add discard support for ESE volumes"
authorStefan Haberland <sth@linux.ibm.com>
Tue, 1 Oct 2019 15:34:39 +0000 (17:34 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Oct 2019 15:53:36 +0000 (09:53 -0600)
commit11d54fae585f1698054836ffe176ee2ea2bf11ed
tree33760b7f7abf03ae3365fc4bae4216caa66def75
parente3bd5a8b0f268728b0b143e514b8a5a88ad8c44f
Revert "s390/dasd: Add discard support for ESE volumes"

This reverts commit 6935497780c02f53c4a942b197e5fbefa16e81ca.

The thin provisioning feature introduces an IOCTL and the discard support
to allow userspace tools and filesystems to release unused and previously
allocated space respectively.

During some internal performance improvements and further tests, the
release of allocated space revealed some issues that may lead to data
corruption in some configurations when filesystems are mounted with
discard support enabled.

While we're working on a fix and trying to clarify the situation,
this commit reverts the discard support for ESE volumes to prevent
potential data corruption.

Cc: <stable@vger.kernel.org> # 5.3
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c