walnux/drivers/bch
Michal Lenc d9270f9ea8 bch: add BIOC_DISCARD ioctl that discards cached sector
This forces the bch layer to read the sector from the physical device
instead of using the cached values. It is necessary to call when the
device is updated from the different source than bch, for example
erased by the MTD ioctl command.

It also has to invalidate readahead buffer from FTL if option
CONFIG_DRVR_READAHEAD is set.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2025-01-23 02:35:46 +08:00
..
bch.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchdev_driver.c bch: add BIOC_DISCARD ioctl that discards cached sector 2025-01-23 02:35:46 +08:00
bchdev_register.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchdev_unregister.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchlib_cache.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchlib_read.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchlib_setup.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchlib_teardown.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bchlib_write.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
Kconfig BCH: Add readonly configuration for BCH devices 2024-09-19 03:53:20 +08:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00