Revision 53afcd310e867d25e394718558783c476301205c authored by Amir Goldstein on 21 February 2020, 14:34:42 UTC, committed by Miklos Szeredi on 13 March 2020, 14:53:06 UTC
Fix up two bugs in the coversion to xino_mode:
1. xino=off does not always end up in disabled mode
2. xino=auto on 32bit arch should end up in disabled mode

Take a proactive approach to disabling xino on 32bit kernel:
1. Disable XINO_AUTO config during build time
2. Disable xino with a warning on mount time

As a by product, xino=on on 32bit arch also ends up in disabled mode.
We never intended to enable xino on 32bit arch and this will make the
rest of the logic simpler.

Fixes: 0f831ec85eda ("ovl: simplify ovl_same_sb() helper")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 531d304
History
File Mode Size
Kconfig -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 309 bytes
core.c -rw-r--r-- 30.8 KB
pblk-cache.c -rw-r--r-- 3.6 KB
pblk-core.c -rw-r--r-- 52.3 KB
pblk-gc.c -rw-r--r-- 16.4 KB
pblk-init.c -rw-r--r-- 32.6 KB
pblk-map.c -rw-r--r-- 5.7 KB
pblk-rb.c -rw-r--r-- 20.8 KB
pblk-read.c -rw-r--r-- 11.7 KB
pblk-recovery.c -rw-r--r-- 21.0 KB
pblk-rl.c -rw-r--r-- 6.3 KB
pblk-sysfs.c -rw-r--r-- 18.4 KB
pblk-trace.h -rw-r--r-- 3.3 KB
pblk-write.c -rw-r--r-- 16.7 KB
pblk.h -rw-r--r-- 39.0 KB

back to top