]> Gentwo Git Trees - linux/.git/commit
bcache: drop discard sysfs interface
authorColy Li <colyli@fnnas.com>
Thu, 13 Nov 2025 05:36:24 +0000 (13:36 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Nov 2025 16:18:06 +0000 (09:18 -0700)
commit73a004f83cf024e785b74243ba9817a329423379
treea5cb66b69613a1fbb250af5d98573bff60909493
parentb4056afbd4b90f5bdbdc53cca2768f9b8872a2dd
bcache: drop discard sysfs interface

Since discard code is removed, now the sysfs interface to enable discard
is useless. This patch removes the corresponding sysfs entry, and remove
bool variable 'discard' from struct cache as well.

Signed-off-by: Coly Li <colyli@fnnas.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bcache.h
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c
drivers/md/bcache/writeback.c