Displaying 6 results from an estimated 6 matches for "final_size".
2023 Mar 10
5
[PATCH v4 1/5] fs: add i_blockmask()
Introduce i_blockmask() to simplify code, which replace
(i_blocksize(node) - 1). Like done in commit
93407472a21b("fs: add i_blocksize()").
Signed-off-by: Yangtao Li <frank.li at vivo.com>
---
v4:
-drop ext4 patch
-erofs patch based on mainline
-a bit change in ocfs2 patch
include/linux/fs.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/fs.h
2023 Mar 09
8
[PATCH v3 1/6] fs: add i_blockmask()
Introduce i_blockmask() to simplify code, which replace
(i_blocksize(node) - 1). Like done in commit
93407472a21b("fs: add i_blocksize()").
Signed-off-by: Yangtao Li <frank.li at vivo.com>
---
v3:
-none
v2:
-convert to i_blockmask()
include/linux/fs.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index c85916e9f7db..17387d465b8b
2023 Mar 10
0
[PATCH v4 4/5] ocfs2: convert to use i_blockmask()
...loff_t pos,
> return ret;
> }
>
> -static int ocfs2_is_io_unaligned(struct inode *inode, size_t count, loff_t pos)
> +static bool ocfs2_is_io_unaligned(struct inode *inode, size_t count, loff_t pos)
> {
> - int blockmask = inode->i_sb->s_blocksize - 1;
> - loff_t final_size = pos + count;
> -
> - if ((pos & blockmask) || (final_size & blockmask))
> - return 1;
> - return 0;
> + return ((pos | count) & i_blockmask(inode)) != 0;
Or !!((pos | count) & i_blockmask(inode))?
My concern is just like erofs, we'd better get vfs helper into...
2023 Mar 09
5
[PATCH v2 1/5] fs: add i_blockmask()
The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.
----------------------------------------------------------------------
Introduce i_blockmask() to simplify code, which replace
(i_blocksize(node) - 1). Like done in commit
93407472a21b("fs: add i_blocksize()").
2018 Dec 19
2
Fatal: master: service(indexer-worker): child 493 killed with signal 11 (core dumped)
...y.
(gdb) bt full
#0? a_crash () at ./arch/x86_64/atomic_arch.h:108
No locals.
#1? free (p=0x55d949250660) at src/malloc/malloc.c:467
??????? extra = 65
??????? base = 0x55d94925060f ""
??????? len = 94391723427649
??????? self = 0x55d949250650
??????? next = <optimized out>
??????? final_size = <optimized out>
??????? new_size = <optimized out>
??????? size = <optimized out>
??????? reclaim = 0
??????? i = <optimized out>
#2? 0x00007fbd98ae7e29 in ?? () from /usr/lib/libclucene-core.so.1
No symbol table info available.
#3? 0x00007fbd98ae87ee in ?? () from /usr/li...
2018 Dec 19
2
Fatal: master: service(indexer-worker): child 493 killed with signal 11 (core dumped)
Dear list,
We been having some issues where the indexer-worker is crashing. This
happens on production servers which are handling a slight amount of
mail, but is also reproducible by moving messages. Also, users on my
server are complaining about "Trashed" items coming back etc.
Some details:
- Dovecot 2.3.2.1 in alpine:3.8 based Docker container. As part of the
Mailu distribution.