I came across a hungtask problem as below:
INFO: task 962 blocked for more than 120 s.
Call trace:
[] __switch_to+0x74/0x8c
[] __schedule+0x3b4/0x8f4
[] schedule+0x24/0x68
[] schedule_preempt_disabled+0x10/0x24
[] __mutex_lock_slowpath+0x154/0x26c
[] mutex_lock+0x44/0x64
[]
Check valid values for '.' and '..', such as ino, hash_code, and the
number of dot or dotdot in the directory.
Signed-off-by: Xue Liu
Signed-off-by: Yong Sheng
---
fsck/fsck.c | 78 -
If f2fs was corrupted with missing dot dentries in root dirctory,
it needs to recover them after fsck.f2fs set F2FS_INLINE_DOTS flag
in directory inode when fsck.f2fs detects missing dot dentries.
Signed-off-by: Xue Liu
Signed-off-by: Yong Sheng
Add a max acl count into common/attr for f2fs in order to make
f2fs passing generic/026 test case.
Signed-off-by: Chao Yu
---
common/attr | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/attr b/common/attr
index 86fe181..0efc26d 100644
--- a/common/attr
+++
When testing with fsstress, kworker and user threads were both blocked:
INFO: task kworker/u16:1:16580 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u16:1 D 8803f2595390 0 16580 2 0x
Workqueue: writeback
Hi Jaegeuk,
> -Original Message-
> From: Jaegeuk Kim [mailto:jaeg...@kernel.org]
> Sent: Friday, February 26, 2016 3:03 AM
> To: Chao Yu
> Cc: 'He YunLei'; linux-f2fs-devel@lists.sourceforge.net;
> bintian.w...@huawei.com; 'Biao He'
> Subject: Re: [f2fs-dev] [PATCH] f2fs: avoid hungtask
This patch is to support the following ext4 crypto change.
commit 28b4c263961c47da84ed8b5be0b5116bad1133eb
Author: Theodore Ts'o
Date: Sun Feb 7 19:35:05 2016 -0500
ext4 crypto: revalidate dentry after adding or removing the key
Cc: Theodore Ts'o
Cc: Al
This patch adds a facility to enable per-file encryption.
Arnd fixes a missing CONFIG_BLOCK check in the original patch.
"The newly added generic crypto abstraction for file systems operates
on 'struct bio' objects, which do not exist when CONFIG_BLOCK is
disabled:
fs/crypto/crypto.c: In
This patch tries to catch up with lookup and open policies in ext4.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/dir.c | 2 +-
fs/f2fs/file.c | 4
fs/f2fs/namei.c | 23 +++
3 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/dir.c
This patch adds fname.c supporting filename encryption.
1. general wrapper functions
- fscrypt_fname_disk_to_usr
- fscrypt_fname_usr_to_disk
- fscrypt_setup_filename
- fscrypt_free_filename
2. specific filename handling functions
- fscrypt_fname_alloc_buffer
- fscrypt_fname_free_buffer
This patch removes the most parts of internal crypto codes.
And then, it modifies some f2fs-specific crypt codes to use the generic
facility.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/Kconfig | 10 +-
fs/f2fs/Makefile| 2 -
fs/f2fs/crypto.c| 473
This patch adds keyinfo.c supporting key management.
- fscrypt_get_encryption_info
- fscrypt_free_encryption_info
Signed-off-by: Michael Halcrow
Signed-off-by: Ildar Muslukhov
Signed-off-by: Theodore Ts'o
Signed-off-by: Jaegeuk Kim
This patch removes the most parts of internal crypto codes.
And then, it modifies and adds some ext4-specific crypt codes to use the generic
facility.
Signed-off-by: Jaegeuk Kim
---
fs/ext4/Kconfig | 12 +-
fs/ext4/Makefile| 2 -
fs/ext4/crypto.c|
This patch adds policy.c supporting context management.
1. For ioctls:
- fscrypt_process_policy
- fscrypt_get_policy
2. For context permission
- fscrypt_has_permitted_context
- fscrypt_inherit_context
Signed-off-by: Michael Halcrow
Signed-off-by: Theodore Ts'o
This patch adds definitions for per-file encryption used by ext4 and f2fs.
Signed-off-by: Jaegeuk Kim
---
include/linux/fs.h | 8 ++
include/linux/fscrypto.h | 239 +++
include/uapi/linux/fs.h | 18
3 files changed,
This patch series migrates the existing ext4 and f2fs per-file encryption
feature into VFS layer.
Due to the upcoming merge window, let me consider the following schedule.
1. migrate f2fs and there-in crypto codes into VFS during the next merge window
2. settle down new crypto lib in VFS during
This patch adds crypto.c supporting encrypting and decrypting functions.
1. IO preparation:
- fscrypt_get_ctx / fscrypt_release_ctx
2. before IOs:
- fscrypt_encrypt_page
- fscrypt_decrypt_page
- fscrypt_zeroout_range
3. after IOs:
- fscrypt_decrypt_bio_pages
-
Hi all,
On Thu, Feb 25, 2016 at 05:41:26PM +0800, Chao Yu wrote:
> Hi Yunlei,
>
> > -Original Message-
> > From: He YunLei [mailto:heyun...@huawei.com]
> > Sent: Thursday, February 25, 2016 3:36 PM
> > To: Chao Yu; jaeg...@kernel.org; linux-f2fs-devel@lists.sourceforge.net
> > Cc:
We should update inode page under protection of cp_rwsem lock, otherwise
new dirty inode pages will generated by ->fsync or ->write_inode during
checkpoint, which should not be allowed.
Signed-off-by: Chao Yu
---
fs/f2fs/inode.c | 7 ++-
1 file changed, 6
When testing with fsstress, kworker and user threads were both blocked:
INFO: task kworker/u16:1:16580 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u16:1 D 8803f2595390 0 16580 2 0x
Workqueue: writeback
Hi Yunlei,
> -Original Message-
> From: He YunLei [mailto:heyun...@huawei.com]
> Sent: Thursday, February 25, 2016 3:36 PM
> To: Chao Yu; jaeg...@kernel.org; linux-f2fs-devel@lists.sourceforge.net
> Cc: bintian.w...@huawei.com; 'Biao He'
> Subject: Re: [f2fs-dev] [PATCH] f2fs: avoid
Hi Hebiao,
> -Original Message-
> From: hebiao (G) [mailto:hebi...@huawei.com]
> Sent: Wednesday, February 24, 2016 5:46 PM
> To: Chao Yu; heyunlei; jaeg...@kernel.org;
> linux-f2fs-devel@lists.sourceforge.net
> Cc: Wangbintian
> Subject: RE: [f2fs-dev] [PATCH] f2fs: avoid hungtask
22 matches
Mail list logo