nuttx/fs
ligd 572d865034 rpmsgfs: cache statfs result in case of deadlock
rptun: msg from other cpu
[ap] [ 5] [<0x2c353768>] arm_switchcontext+0xc/0x10
[ap] [ 5] [<0x2c322266>] sem_wait+0x5a/0xbc
[ap] [ 5] [<0x2c7400a8>] inode_semtake+0x24/0x5c
[ap] [ 5] [<0x2c74087a>] inode_release+0x6/0x60
[ap] [ 5] [<0x2c741284>] file_close+0x18/0x44
[ap] [ 5] [<0x2c74fb06>] rpmsgfs_close_handler+0x86/0xe4
[ap] [ 5] [<0x2c75b8de>] rpmsg_virtio_rx_callback+0xba/0x1b4
[ap] [ 5] [<0x2c75af70>] rproc_virtio_notified+0x44/0x5c
[ap] [ 5] [<0x2c75a93c>] remoteproc_get_notification+0x1c/0x2c
[ap] [ 5] [<0x2c335a08>] rptun_thread+0x74/0x208
[ap] [ 5] [<0x2c323e72>] nxtask_start+0x3a/0x60

nsh: send msg to other cpu with inode lock
[ap] [10] [<0x2c353768>] arm_switchcontext+0xc/0x10
[ap] [10] [<0x2c3221b2>] nxsem_wait_uninterruptible+0x6e/0xc8
[ap] [10] [<0x2c74e498>] rpmsgfs_send_recv.constprop.0+0x78/0xc0
[ap] [10] [<0x2c74ebc0>] rpmsgfs_client_statfs+0x50/0x80
[ap] [10] [<0x2c3221ca>] nxsem_wait_uninterruptible+0x86/0xc8
[ap] [10] [<0x2c74da78>] rpmsgfs_statfs+0x28/0x50
[ap] [10] [<0x2c74534e>] mountpoint_filter+0x66/0x90
[ap] [10] [<0x2c740016>] foreach_inodelevel+0x66/0x88
[ap] [10] [<0x2c73fffa>] foreach_inodelevel+0x4a/0x88
[ap] [10] [<0x2c740062>] foreach_inode+0x2a/0x48
[ap] [10] [<0x2c745388>] foreach_mountpoint+0x10/0x20
[ap] [10] [<0x2c745606>] mount_read+0x36/0x70
[ap] [10] [<0x2c742a34>] read+0x30/0x5c
[ap] [10] [<0x2c371096>] nsh_catfile+0x36/0x140
[ap] [10] [<0x2c36d01a>] nsh_parse_command+0x7fe/0xc54
[ap] [10] [<0x2c370f92>] nsh_session+0x66/0x134
[ap] [10] [<0x2c3721a4>] nsh_consolemain+0x2c/0x44
[ap] [10] [<0x2c374fde>] nsh_main+0x2a/0x4c
[ap] [10] [<0x2c33f7f8>] lib_cxx_initialize+0x24/0x48
[ap] [10] [<0x2c34274a>] nxtask_startup+0x12/0x24
[ap] [10] [<0x2c323e7e>] nxtask_start+0x46/0x60

Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-22 17:10:19 +03:00
..
aio use rmutex inside of all repeated implementation 2022-05-30 19:43:48 +08:00
binfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
cromfs Add preprocessor directive __attribute__((packed)) to cromfs_node_s 2022-06-01 12:09:37 +08:00
dirent opendir: use inode_find() instead when opendir() 2022-03-30 03:33:39 +08:00
driver nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
fat fs/fat: Fix a bug that long file name cannot be found 2022-06-30 15:35:57 +08:00
hostfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
inode Fix various typos 2022-07-08 02:15:54 +08:00
littlefs littlefs_stat: Fix directory size 2022-05-20 15:37:28 +03:00
mmap include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
mount Add printflike and scanflike to all printf/scanf like functions 2022-07-18 14:14:36 +03:00
mqueue fs/mqueue: skip nxmq_pollnotify() if no poll waiters 2022-06-10 18:40:42 +09:00
nfs fs/nfs: fix compile warning 2022-03-19 02:20:20 +08:00
nxffs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
partition fs/partition/fs_gpt.c: Fix compilation error 2022-07-19 23:50:30 +08:00
procfs procfs: procfs_opendir should return fail if can't match 2022-07-22 10:53:44 +08:00
romfs fs/romfs: fix string overflow when the length of rn_name exceeds NAME_MAX + 1 2022-04-01 12:16:14 +03:00
rpmsgfs rpmsgfs: cache statfs result in case of deadlock 2022-07-22 17:10:19 +03:00
semaphore semaphore: Change FS_NAMED_SEMPATH from "/var/lock" to "/var/sem" 2022-02-05 23:58:01 +01:00
shm shm: Rename FS_SHMPATH to FS_SHM_VFS_PATH 2022-02-05 23:58:01 +01:00
smartfs Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
socket fs:oflag need consistent with psock 2022-04-19 13:58:56 +03:00
spiffs use rmutex inside of all repeated implementation 2022-05-30 19:43:48 +08:00
tmpfs use rmutex inside of all repeated implementation 2022-05-30 19:43:48 +08:00
unionfs Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
userfs net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
vfs fs/ioctl: add BLKSSZGET cmd to get block sector size 2022-07-22 09:07:57 +03:00
fs_initialize.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
Kconfig Simplify DEFAULT_SMALL usage in Kconfig 2022-03-01 03:15:01 +08:00
Makefile fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00