]> 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)
commit0ac7f00ec6ce62ef020a67e1f38faeb1ca86c2bc
tree33760b7f7abf03ae3365fc4bae4216caa66def75
parent0cf15a973a4d8325acdd69fe0270783a18b3b783
Revert "s390/dasd: Add discard support for ESE volumes"

This reverts commit 397ad289ae87c9687eb64c2da40488a646e77b7d.

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