linux/fs/erofs
Gao Xiang 6aaa7b0664 erofs: get rid of magical Z_EROFS_MAPPING_STAGING
Previously, we played around with magical page->mapping for short-lived
temporary pages since we need to identify different types of pages in
the same pcluster but both invalidated and short-lived temporary pages
can have page->mapping == NULL. It was considered as safe because that
temporary pages are all non-LRU / non-movable pages.

This patch tends to use specific page->private to identify short-lived
pages instead so it won't rely on page->mapping anymore. Details are
described in "compress.h" as well.

Link: https://lore.kernel.org/r/20201208095834.3133565-1-hsiangkao@redhat.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
2020-12-08 18:08:21 +08:00
..
compress.h erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
data.c erofs: add REQ_RAHEAD flag to readahead requests 2020-09-19 15:38:14 +08:00
decompressor.c erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
dir.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
erofs_fs.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
inode.c erofs: derive atime instead of leaving it empty 2020-11-04 09:15:33 +08:00
internal.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
Kconfig erofs: support superblock checksum 2019-11-24 11:02:41 +08:00
Makefile erofs: remove a void EROFS_VERSION macro set in Makefile 2020-12-08 18:06:06 +08:00
namei.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
super.c Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-24 12:26:05 -07:00
tagptr.h erofs: move erofs out of staging 2019-08-24 14:20:10 +02:00
utils.c erofs: fold in used-once helper erofs_workgroup_unfreeze_final() 2020-08-03 21:04:46 +08:00
xattr.c erofs: avoid duplicated permission check for "trusted." xattrs 2020-09-18 22:11:13 +08:00
xattr.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zdata.c erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
zdata.h erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
zmap.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
zpvec.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00