linux/fs
Jon Lin cc770c4e7a ubifs: Recovery for cases of unclean reboot
After power lost, spinand may work in a unkonw state and result in
bit flip, including:
1.Write to cache invalid and dirty cache data write to page's array
which result in node CRC error for some pages.
2.One page write fail but the next page write success result in
empty space corruption.

Change-Id: I212c237202b32de0217efc8dd5a4e84174953a3f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-06-24 20:25:10 +08:00
..
9p rk: revert to v4.19 2021-03-17 18:05:39 +08:00
adfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
affs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
afs Merge 5.10.26 into android12-5.10-lts 2021-03-25 17:15:27 +01:00
autofs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
befs
bfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
btrfs Merge 5.10.27 into android12-5.10 2021-04-02 15:25:50 +02:00
cachefiles fs/cachefiles: Remove wait_bit_key layout dependency 2021-03-30 14:32:07 +02:00
ceph rk: revert to v4.19 2021-03-17 18:05:39 +08:00
cifs Merge 5.10.29 into android12-5.10 2021-04-11 09:11:53 +02:00
coda rk: revert to v4.19 2021-03-17 18:05:39 +08:00
configfs FROMLIST: configfs: make directories inherit uid/gid from creator 2021-03-24 21:32:54 +00:00
cramfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
crypto rk: revert to v4.19 2021-03-17 18:05:39 +08:00
debugfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
devpts rk: revert to v4.19 2021-03-17 18:05:39 +08:00
dlm rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ecryptfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
efivarfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
efs
erofs This is the 5.10.21 stable release 2021-03-07 12:53:30 +01:00
exfat exfat: fix shift-out-of-bounds in exfat_fill_super() 2021-03-04 11:38:41 +01:00
exportfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ext2 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ext4 ANDROID: mm: allow vmas with vm_ops to be speculatively handled 2021-04-23 18:42:39 -07:00
f2fs f2fs: Fix recovery is too slow when power fail on much fsync 2021-06-08 09:38:35 +08:00
fat rk: revert to v4.19 2021-03-17 18:05:39 +08:00
freevxfs
fscache rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fuse ANDROID: fuse: fix deadlock for reply of FUSE_CANONICAL_PATH 2021-06-08 09:38:35 +08:00
gfs2 Merge 5.10.31 into android12-5.10 2021-04-16 16:01:44 +02:00
hfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hfsplus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hostfs hostfs: fix memory handling in follow_link() 2021-04-14 08:42:06 +02:00
hpfs
hugetlbfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
incfs ANDROID: Incremental fs: Fix pseudo-file attributes 2021-04-28 22:07:07 +00:00
iomap Merge 5.10.28 into android12-5.10 2021-04-09 09:29:17 +02:00
isofs isofs: release buffer head before return 2021-03-04 11:38:00 +01:00
jbd2 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
jffs2 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
jfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
kernfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
lockd rk: revert to v4.19 2021-03-17 18:05:39 +08:00
minix rk: revert to v4.19 2021-03-17 18:05:39 +08:00
nfs Merge 5.10.27 into android12-5.10 2021-04-02 15:25:50 +02:00
nfs_common rk: revert to v4.19 2021-03-17 18:05:39 +08:00
nfsd NFSD: fix error handling in NFSv4.0 callbacks 2021-04-07 15:00:05 +02:00
nilfs2 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
nls
notify rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ntfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ocfs2 Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
omfs fs: omfs: use kmemdup() rather than kmalloc+memcpy 2020-09-22 23:39:45 -04:00
openpromfs
orangefs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
overlayfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
proc BACKPORT: FROMGIT: userfaultfd: add minor fault registration mode 2021-04-09 15:35:59 -07:00
pstore FROMGIT: pstore: Add mem_type property DT parsing support 2021-04-02 10:56:28 +00:00
qnx4
qnx6
quota rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ramfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
reiserfs Merge 5.10.28 into android12-5.10 2021-04-09 09:29:17 +02:00
romfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
sdcardfs Revert "ANDROID: sdcardfs: remove sdcardfs from system" 2020-09-25 09:32:14 +08:00
squashfs Merge 5.10.27 into android12-5.10 2021-04-02 15:25:50 +02:00
sysfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
sysv rk: revert to v4.19 2021-03-17 18:05:39 +08:00
tracefs
ubifs ubifs: Recovery for cases of unclean reboot 2021-06-24 20:25:10 +08:00
udf udf: fix silent AED tagLocation corruption 2021-03-17 17:06:23 +01:00
ufs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
unicode rk: revert to v4.19 2021-03-17 18:05:39 +08:00
vboxsf Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2020-10-15 15:11:56 -07:00
verity rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xfs rk: revert to v4.19 2021-03-17 18:05:39 +08:00
zonefs zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone() 2021-03-25 09:04:05 +01:00
aio.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
anon_inodes.c UPSTREAM: fs: anon_inodes: rephrase to appropriate kernel-doc 2021-03-03 16:18:33 +00:00
attr.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c binfmt_elf, binfmt_elf_fdpic: use a VMA list snapshot 2020-10-16 11:11:21 -07:00
binfmt_elf.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
binfmt_em86.c
binfmt_flat.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
binfmt_misc.c binfmt_misc: fix possible deadlock in bm_register_write 2021-03-17 17:06:35 +01:00
binfmt_script.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
block_dev.c Merge 5.10.31 into android12-5.10 2021-04-16 16:01:44 +02:00
buffer.c Revert "FROMLIST: fs/buffer.c: Revoke LRU when trying to drop buffers" 2021-03-24 17:40:49 +00:00
char_dev.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
compat_binfmt_elf.c
coredump.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
d_path.c fs: fix NULL dereference due to data race in prepend_path() 2020-10-14 14:54:45 -07:00
dax.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
dcache.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
dcookies.c
direct-io.c Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
drop_caches.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
eventfd.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
eventpoll.c ANDROID: fs: Add vendor hooks for ep_create_wakeup_source & timerfd_create 2021-03-24 17:57:22 +00:00
exec.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fcntl.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fhandle.c
file_table.c task_work: cleanup notification modes 2020-10-17 15:05:30 -06:00
file.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
filesystems.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fs_context.c
fs_parser.c fs_parse: mark fs_param_bad_value() as static 2020-10-13 18:38:27 -07:00
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fsopen.c
init.c
inode.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
internal.h rk: revert to v4.19 2021-03-17 18:05:39 +08:00
io_uring.c io_uring: don't mark S_ISBLK async work as unbounded 2021-04-16 11:43:21 +02:00
io-wq.c io_uring: always batch cancel in *cancel_files() 2021-02-13 13:54:56 +01:00
io-wq.h io_uring: always batch cancel in *cancel_files() 2021-02-13 13:54:56 +01:00
ioctl.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Kconfig rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Kconfig.binfmt
kernel_read_file.c fs/kernel_file_read: Add "offset" arg for partial reads 2020-10-05 13:37:04 +02:00
libfs.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
locks.c Revert "nfsd4: a client's own opens needn't prevent delegations" 2021-03-20 10:43:44 +01:00
Makefile rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mbcache.c
mount.h
mpage.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
namei.c Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
namespace.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
no-block.c
nsfs.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
open.c FROMLIST: mm, thp: Relax the VM_DENYWRITE constraint on file-backed THPs 2021-04-28 18:41:35 +00:00
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-03 14:11:30 +00:00
pipe.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pnode.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pnode.h mount: fix mounting of detached mounts onto targets that reside on shared mounts 2021-03-17 17:06:13 +01:00
posix_acl.c
proc_namespace.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
read_write.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
readdir.c readdir: make sure to verify directory entry for legacy interfaces too 2021-04-21 13:00:54 +02:00
remap_range.c vfs: move the remap range helpers to remap_range.c 2020-10-15 09:48:49 -07:00
select.c kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data() 2021-03-25 09:04:16 +01:00
seq_file.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
signalfd.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
splice.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
stack.c
stat.c fs: remove KSTAT_QUERY_FLAGS 2020-09-26 22:55:05 -04:00
statfs.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
super.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
sync.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
timerfd.c ANDROID: fs: Add vendor hooks for ep_create_wakeup_source & timerfd_create 2021-03-24 17:57:22 +00:00
userfaultfd.c BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem 2021-04-09 15:36:00 -07:00
utimes.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xattr.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00