This commit adds functions that transfer names to inodes.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/namei.c | 243 +++
1 file changed, 243 insertions(+)
create mode 100644 fs/erofs/namei.c
diff
This commit adds Makefile and Kconfig for erofs, and
updates Makefile and Kconfig files in the fs directory.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/Kconfig| 1 +
fs/Makefile | 1 +
fs/erofs/Kconfig | 34
the erofs file system is designed for 3.1x ~ latest kernel,
staging.h is introduced for compatibility.
This _should_ be avoided in the near future after we fork
the needed kernel version public trees.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs
will be used instead.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig| 37 +++
fs/erofs/Makefile | 1 +
fs/erofs/inode.c| 61 +
fs/erofs/internal.h | 20 ++
fs/erofs/namei.c| 7 +
fs/erofs/super.c| 29 +++
fs/erofs/xa
to: https://groups.google.com/forum/#!topic/lz4c/_3kkz5N6n00
Therefore, I hacked the LZ4 decompression logic by hand,
probably NOT the fastest approach, and hope for better
implementation.
Signed-off-by: Gao Xiang
---
fs/erofs/lz4defs.h | 227 +
This commit adds erofs super block operations, including (u)mount,
remount_fs, show_options, statfs, in addition to some private
icache management functions.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/super.c | 362
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 300
1 file changed, 300 insertions(+)
create mode 100644 fs/erofs/internal.h
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
new file mode 100644
index 000
ill be released as
soon as
the internal process ends.
4) VLE decompression code still needs to do more optimization and cleanup.
Thanks,
Gao Xiang (12):
erofs: add on-disk layout
erofs: add erofs in-memory stuffs
erofs: add super block operations
erofs: add raw address_space operat
: Gao Xiang
---
fs/erofs/erofs_fs.h | 258
1 file changed, 258 insertions(+)
create mode 100644 fs/erofs/erofs_fs.h
diff --git a/fs/erofs/erofs_fs.h b/fs/erofs/erofs_fs.h
new file mode 100644
index 000..c08d982
--- /dev/null
+++ b/fs/erofs
This adds functions for directory, mainly readdir.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/dir.c | 143 +
1 file changed, 143 insertions(+)
create mode 100644 fs/erofs/dir.c
diff --git a/fs
This commit adds functions for meta and raw data, providing
a set of raw address_space_operations for file inodes.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 393
1 file changed, 393
This adds core functions to get, read an inode.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/inode.c | 222 +++
1 file changed, 222 insertions(+)
create mode 100644 fs/erofs/inode.c
diff --git a/fs
(percpu buffer, memcpy) and
slow path(vmap, no memcpy), but we observed some issues from
the bad parts too.
In brief, some parts of this patch will be refactored
in the near future.
Signed-off-by: Miao Xie
Signed-off-by: Chao Yu
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 17 +
fs
for test only
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
This fixes compiling errors built with:
config: parisc-allmodconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
Reported-by: kbuild test robot
Signed-off-by: Gao Xiang
Reviewed-by: Chao Yu
Signed-off-by: Chao Yu
---
fs/erofs/data.c | 1 +
fs/erofs/unzip.c | 1
configuration test 3
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
test ok.
On 2018/6/22 13:40, Gao Xiang wrote:
--
Linux-erofs mailing list
Linux-erofs@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linux-erofs
Signed-off-by: Gao Xiang
---
The patch is temporarily based on
[RFC PATCH RESEND 12/12] erofs: introduce VLE decompression support
(experimental)
STILL BUGGY, NOT FOR DAILY USE!
fs/erofs/Makefile|7 +-
fs/erofs/data.c | 189 +--
fs/erofs/inode.c |2
...@vger.kernel.org
Signed-off-by: Gao Xiang
---
Tagged pointers are good for performance and memory saving,
hoping for a generic taggedptr approach to clean up redundant dirty code.
Any comments, suggestions or alternative approaches are welcomed. :)
Thanks,
Gao Xiang
fs/file.c | 19
Hi Matthew,
On 2018/6/28 17:23, Matthew Wilcox wrote:
> On Thu, Jun 28, 2018 at 05:06:29PM +0800, Gao Xiang wrote:
>> Therefore, this patch introduces simple generic methods to fold
>> tags into a pointer integer. It currently reuses the last 2 bits
>> of the pointer for t
-ker...@vger.kernel.org
Signed-off-by: Gao Xiang
---
change log v2:
- add support to select the last {1,2,3,...} bits for tags
Tagged pointers are good for performance and memory saving,
hoping for a generic taggedptr approach to clean up redundant dirty code.
Any comments, suggestions or
-ker...@vger.kernel.org
Signed-off-by: Gao Xiang
---
change log v3:
- include/linux/file.h: define a unique alias fdtagptr_t (tagptr2_t)
change log v2:
- add support to select the last {1,2,3,...} bits for tags
Tagged pointers are good for performance and memory saving,
hoping for a generic
Hi Chao,
On 2018/6/30 7:45, Chao Yu wrote:
> On 2018/6/27 22:20, Gao Xiang wrote:
>> Signed-off-by: Gao Xiang
>> ---
>>
>> The patch is temporarily based on
>> [RFC PATCH RESEND 12/12] erofs: introduce VLE decompression support
>> (experimental)
>>
-ker...@vger.kernel.org
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16 deletions(-)
create mode 100644 include/linux
allocation.
Refer to:
https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
Signed-off-by: Gao Xiang
---
change log v0.2:
- use the recent introduced tagptr_t type to manage tagged pointers.
- bugfix
TODO:
- spilt into more understandable patches
- add missing functions and bugfix
The patchset is temporarily based on
[RFC PATCH RESEND 11/12] erofs: introduce a
-ker...@vger.kernel.org
Signed-off-by: Gao Xiang
---
change log v4:
- fix that the potential usage "#define tagptr2_t tagptr3_t" is broken
- add tagptr_init & tagptr_cast_ptr from/to raw data, tagptr_eq for
comparsion, tagptr_cmpxchg for CAS
- the corresponding EROFS
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 8 ++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 231 +++
4 files changed, 244 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
allocation.
Refer to:
https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 3 +++
fs/erofs/utils.c| 31 +++
2 files changed, 34 insertions(+)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index d327de2..6d9a927 100644
--- a/fs/erofs
Signed-off-by: Gao Xiang
---
change log v0.3:
- separate to several small patches, maybe more in the future patchset
change log v0.2:
- use the recent introduced tagptr_t type to manage tagged pointers.
- bugfix
Todo list:
- spilt into more understandable patches
- add missing functions
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index 9b30095..45ad829 100644
: Gao Xiang
Signed-off-by: Chao Yu
---
v4 Gao Xiang :
- avoid the global variable 'fault_name' to pollute symbol space.
Reported-by: kbuild test robot
v3:
- code rebase.
v2:
- add missing Kconfig entry.
- fix double prefix 'erofs:' in erofs_show_injection_info macro.
fs/e
fix to handle return value of
erofs_init_page_bundle() correctly"
and then apply the new patchset just as you said,
or
2) Introduce a new 'dev-test' branch as Jaegeuk Kim's branch.
Boths for me are ok. :)
Thanks,
Gao Xiang
Hi Chao,
On 2018/7/2 11:36, Chao Yu wrote:
> We can do both of them, let's treat erofs branch as master branch, and we can
> split erofs-dev branch (dev-test will not be so obvious to indicate that
> branch
> is belong to erofs, so let's use erofs-dev) from erofs branch for further
> development.
rom this
> week.
No rush :) I can also take some part of backport work.
Besides, some paper work are in queue as well...
Let's finish them and then release v2 patchset to the linux mailing list.
Thanks,
Gao Xiang
-ker...@vger.kernel.org
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16 deletions(-)
create mode 100644 include/linux
into more understandable patches
- add missing functions and bugfix
The patchset is temporarily based on
[RFC PATCH RESEND 11/12] erofs: introduce a customized LZ4 decompression
The new unzip system is still _buggy_, not for _daily_ use!
Gao Xiang (7):
: Introduce tagged pointer
erofs
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 8 ++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 231 +++
4 files changed, 244 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
Signed-off-by: Gao Xiang
---
fs/erofs/Makefile | 2 +-
fs/erofs/internal.h | 3 +++
fs/erofs/staging.h | 4
fs/erofs/utils.c| 31 +++
4 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/Makefile b
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index 9b30095..45ad829 100644
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 15 +
fs/erofs/Makefile| 2 +-
fs/erofs/internal.h | 5 ++
fs/erofs/unzip_vle.h | 34 +++
fs/erofs/unzip_vle_lz4.c | 145 +++
5 files changed, 200 insertions
Signed-off-by: Gao Xiang
---
fs/erofs/inode.c | 6 +-
fs/erofs/internal.h | 24 ++
fs/erofs/staging.h | 38 +++
fs/erofs/super.c | 36 +-
fs/erofs/unzip_vle.c | 947 ++-
fs/erofs/unzip_vle.h | 202 +++
6 files changed, 1248
} else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) {
> + inode->i_rdev =
> + new_decode_dev(le32_to_cpu(v1->i_u.rdev));
> + } else if (S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->
le makes automatic testing confused, I could use alternative way
to replace it in the next version.
Thanks for your caring and report. :)
Thanks,
Gao Xiang
> julia
>
> On Tue, 3 Jul 2018, kbuild test robot wrote:
>
>>
>> tree: https://git.kern
Hi Julia,
On 2018/7/3 15:13, Julia Lawall wrote:
>
> On Tue, 3 Jul 2018, Gao Xiang wrote:
>
>> Hi Julia,
>>
>> On 2018/7/3 13:27, Julia Lawall wrote:
>>> Hello,
>>>
>>> There is not actually a bug here, but I wonder if the backwards goto in
*page = list_entry(pages->prev, struct page, lru);
minor, how about remove the in-loop 'page' defination?
Reviewed-by: Gao Xiang
Thanks,
Gao Xiang
> diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c
> index e30294b279d1..b701d9ba52a6 100644
> --- a/fs/erofs/namei.c
> +++ b/fs/erofs/namei.c
On 2018/7/3 21:52, Chao Yu wrote:
> Hi Xiang,
>
> On 2018/7/3 17:44, Gao Xiang wrote:
>> Hi Chao,
>>
>> On 2018/6/22 10:01, Chao Yu wrote:
>>> Add tracepoints for ->readpage{,s}, ->lookup.
>>>
>>> Signed-off-by: Chao Yu
is temporarily based on
Revert "erofs: introduce VLE decompression support (experimental)"
The new unzip system is still _buggy_, not for _daily_ use!
Gao Xiang (7):
: Introduce tagged pointer
erofs: introduce pagevec for unzip subsystem
erofs: add erofs_map_blocks_iter
is temporarily based on
Revert "erofs: introduce VLE decompression support (experimental)"
The new unzip system is still _buggy_, not for _daily_ use!
Gao Xiang (7):
: Introduce tagged pointer
erofs: introduce pagevec for unzip subsystem
erofs: add erofs_map_blocks_iter
allocation.
Link: https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
Signed-off-by: Gao Xiang
---
fs/erofs/inode.c | 6 +-
fs/erofs/internal.h | 24 ++
fs/erofs/staging.h | 38 ++
fs/erofs/super.c | 36 +-
fs/erofs/unzip_vle.c | 958 ++-
fs/erofs/unzip_vle.h | 202 +++
6 files changed, 1259
Signed-off-by: Gao Xiang
---
fs/erofs/Makefile | 2 +-
fs/erofs/internal.h | 3 +++
fs/erofs/staging.h | 4
fs/erofs/utils.c| 31 +++
4 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/Makefile b
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index b2a4d37..cebc097 100644
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 14 +
fs/erofs/Makefile| 2 +-
fs/erofs/internal.h | 5 ++
fs/erofs/unzip_vle.h | 34 +++
fs/erofs/unzip_vle_lz4.c | 145 +++
5 files changed, 199 insertions
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 10 +++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 231 +++
4 files changed, 246 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
This patch adds missing parts and EROFS ondisk
layout check as well.
Signed-off-by: Gao Xiang
---
fs/erofs/erofs_fs.h | 13 +
fs/erofs/super.c| 28 +---
2 files changed, 34 insertions(+), 7 deletions(-)
diff --git a/fs/erofs/erofs_fs.h b/fs/erofs
understandable patches
- add missing functions and bugfix
The patchset is temporarily based on
"erofs: fix erofs_module_init & exit"
The new unzip system is still _buggy_, not for _daily_ use!
Gao Xiang (10):
: Introduce tagged pointer
erofs: introduce pagevec for unzip subsyste
allocation.
Link: https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 10 +++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 231 +++
4 files changed, 246 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
Signed-off-by: Gao Xiang
---
fs/erofs/Makefile | 2 +-
fs/erofs/internal.h | 3 +++
fs/erofs/staging.h | 4
fs/erofs/utils.c| 31 +++
4 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/Makefile b
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index de99217..2efe69f 100644
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 6 ++
fs/erofs/super.c| 4
fs/erofs/utils.c| 17 +
3 files changed, 27 insertions(+)
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index 038d77b..cc898b4 100644
--- a/fs/erofs/internal.h
+++ b/fs
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 14 +
fs/erofs/Makefile| 2 +-
fs/erofs/internal.h | 5 ++
fs/erofs/unzip_vle.h | 34 +++
fs/erofs/unzip_vle_lz4.c | 146 +++
5 files changed, 200 insertions
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 7 +
fs/erofs/super.c| 15 ++
fs/erofs/utils.c| 79 +
3 files changed, 96 insertions(+), 5 deletions(-)
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index
Signed-off-by: Gao Xiang
---
fs/erofs/inode.c | 6 +-
fs/erofs/internal.h | 7 +
fs/erofs/staging.h | 38 ++
fs/erofs/super.c | 26 ++
fs/erofs/unzip_vle.c | 971 ++-
fs/erofs/unzip_vle.h | 194 ++
fs/erofs/utils.c
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 60
fs/erofs/super.c| 12 +
fs/erofs/utils.c| 71 +
3 files changed, 143 insertions(+)
diff --git a/fs/erofs/internal.h b/fs/erofs
Signed-off-by: Gao Xiang
---
change log v0.5 RESEND:
- add the missing mutex_init(&sbi->umount_mutex);
fs/erofs/internal.h | 7 +
fs/erofs/super.c| 15 ++
fs/erofs/utils.c| 85 +
3 files changed, 101 insertion
Signed-off-by: Gao Xiang
---
change log v0.5 RESEND:
- fix erofs_global_shrink_cnt
fs/erofs/inode.c | 6 +-
fs/erofs/internal.h | 7 +
fs/erofs/staging.h | 38 ++
fs/erofs/super.c | 26 ++
fs/erofs/unzip_vle.c | 971 ++-
fs/erofs
Hi Chao,
On 2018/7/6 0:19, Chao Yu wrote:
> Hi Xiang,
>
> On 2018/7/5 13:03, Gao Xiang wrote:
>> This patch adds missing parts and EROFS ondisk
>> layout check as well.
>>
>> Signed-off-by: Gao Xiang
>> ---
>> fs/erofs/erofs_fs.h |
Hi Chao,
On 2018/7/6 9:30, Chao Yu wrote:
> Hi Xiang,
>
> On 2018/7/6 0:39, Gao Xiang wrote:
>> Hi Chao,
>>
>> On 2018/7/6 0:19, Chao Yu wrote:
>>> Hi Xiang,
>>>
>>> On 2018/7/5 13:03, Gao Xiang wrote:
>>>> This p
This patch adds missing parts and EROFS ondisk
layout check as well.
Reviewed-by: Chao Yu
Signed-off-by: Gao Xiang
---
change log v2:
- erofs_check_ondisk_layout => erofs_check_ondisk_layout_definitions
fs/erofs/erofs_fs.h | 13 +
fs/erofs/super.c|
Hi Chao,
On 2018/7/6 10:09, Gao Xiang wrote:
>> Alright, it's trivial, let's keep the code as original state. :)
>>
>> Reviewed-by: Chao Yu
>>
> :), Thanks for the review~
>
> It seems that 'erofs_check_ondisk_layout_definations' is more prop
allocation.
Link: https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
recent introduced tagptr_t type to manage tagged pointers.
- bugfix
The patchset is temporarily based on
"erofs: fix erofs_module_init & exit"
The new unzip system is still _buggy_, not for _daily_ use!
Gao Xiang (10):
: Introduce tagged pointer
erofs: introduce pagevec for u
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 10 +++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 236 +++
4 files changed, 251 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
Signed-off-by: Gao Xiang
---
fs/erofs/Makefile | 2 +-
fs/erofs/internal.h | 3 +++
fs/erofs/staging.h | 4
fs/erofs/utils.c| 31 +++
4 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/Makefile b
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index de99217..2efe69f 100644
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 14 +
fs/erofs/Makefile| 2 +-
fs/erofs/internal.h | 5 ++
fs/erofs/unzip_vle.h | 34 +++
fs/erofs/unzip_vle_lz4.c | 156 +++
5 files changed, 210 insertions
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 6 ++
fs/erofs/super.c| 4
fs/erofs/utils.c| 17 +
3 files changed, 27 insertions(+)
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index 038d77b..cc898b4 100644
--- a/fs/erofs/internal.h
+++ b/fs
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 7 +
fs/erofs/super.c| 15 ++
fs/erofs/utils.c| 85 +
3 files changed, 101 insertions(+), 6 deletions(-)
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index
Signed-off-by: Gao Xiang
---
fs/erofs/internal.h | 60
fs/erofs/super.c| 12 +
fs/erofs/utils.c| 71 +
3 files changed, 143 insertions(+)
diff --git a/fs/erofs/internal.h b/fs/erofs
Signed-off-by: Gao Xiang
---
fs/erofs/inode.c | 6 +-
fs/erofs/internal.h | 7 +
fs/erofs/staging.h | 38 ++
fs/erofs/super.c | 26 ++
fs/erofs/unzip_vle.c | 982 ++-
fs/erofs/unzip_vle.h | 194 ++
fs/erofs/utils.c
Without a NULL terminated pattern, it could cause memory
access violation.
Signed-off-by: Gao Xiang
---
fs/erofs/super.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/fs/erofs/super.c b/fs/erofs/super.c
index 0dcf9c7..de8ee81 100644
--- a/fs/erofs/super.c
+++ b/fs/erofs
temporarily based on
"erofs: fix erofs_module_init & exit"
Gao Xiang (10):
: Introduce tagged pointer
erofs: introduce pagevec for unzip subsystem
erofs: add erofs_map_blocks_iter
erofs: add erofs_allocpage
erofs: globalize prepare_bio and __submit_bio
erofs: add a gener
allocation.
Link: https://en.wikipedia.org/wiki/Tagged_pointer
Signed-off-by: Gao Xiang
---
fs/file.c | 24 ++-
include/linux/file.h | 15 ---
include/linux/tagptr.h | 110 +
3 files changed, 133 insertions(+), 16
Signed-off-by: Gao Xiang
---
fs/erofs/unzip_pagevec.h | 172 +++
1 file changed, 172 insertions(+)
create mode 100644 fs/erofs/unzip_pagevec.h
diff --git a/fs/erofs/unzip_pagevec.h b/fs/erofs/unzip_pagevec.h
new file mode 100644
index 000
Signed-off-by: Gao Xiang
---
fs/erofs/Makefile | 2 +-
fs/erofs/internal.h | 3 +++
fs/erofs/staging.h | 4
fs/erofs/utils.c| 31 +++
4 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 fs/erofs/utils.c
diff --git a/fs/erofs/Makefile b
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 10 +++
fs/erofs/Makefile| 1 +
fs/erofs/internal.h | 4 +
fs/erofs/unzip_vle.c | 236 +++
4 files changed, 251 insertions(+)
create mode 100644 fs/erofs/unzip_vle.c
diff --git a/fs
Signed-off-by: Gao Xiang
---
fs/erofs/data.c | 41 +
fs/erofs/internal.h | 41 +
2 files changed, 50 insertions(+), 32 deletions(-)
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index de99217..2efe69f 100644
Signed-off-by: Gao Xiang
---
fs/erofs/Kconfig | 14
fs/erofs/Makefile| 2 +-
fs/erofs/internal.h | 5 ++
fs/erofs/unzip_vle.h | 35
fs/erofs/unzip_vle_lz4.c | 209 +++
5 files changed, 264 insertions(+), 1
1 - 100 of 4764 matches
Mail list logo