]> git.itanic.dy.fi Git - linux-stable/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)
commit964ce509e2ded52c1a61ad86044cc4d70abd9eb8
tree33760b7f7abf03ae3365fc4bae4216caa66def75
parentdd45483981ac62f432e073fea6e5e11200b9070d
Revert "s390/dasd: Add discard support for ESE volumes"

This reverts commit 7e64db1597fe114b83fe17d0ba96c6aa5fca419a.

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