| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fs/aio: refactored lio_listio() and fixed thread-unsafe issue in lio_listio() Previously, lio_listio() would first call aio_read()/aio_write() to submit I/O, and then set the handler and private variables, which led to thread-unsafe behavior. After this change, lio_listio() now links all I/O requests into a list. When a task is completed, its corresponding node is removed from the list in aio_signal(). The signal is triggered only when the list is empty. Signed-off-by: wushenhui <wushenhui@xiaomi.com> | 2 个月前 | |
sysconf:add support for AIO_LISTIO_MAX In the case test of ltp, nent is set to 10, so the value of AIO_LISTIO_MAX in limit.h is modified to 11 in order to pass the ltp test. Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com> | 2 个月前 | |
fs/aio: refactored lio_listio() and fixed thread-unsafe issue in lio_listio() Previously, lio_listio() would first call aio_read()/aio_write() to submit I/O, and then set the handler and private variables, which led to thread-unsafe behavior. After this change, lio_listio() now links all I/O requests into a list. When a task is completed, its corresponding node is removed from the list in aio_signal(). The signal is triggered only when the list is empty. Signed-off-by: wushenhui <wushenhui@xiaomi.com> | 2 个月前 | |
sched: semaphore wait list optimize | 2 个月前 | |
aio:check fd in aio cancel function In the POSIX standard, aio_cancel should return -1 and set errno to EBADF when it receives an invalid fd. Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com> | 2 个月前 | |
aio:fix fsync crash avoid wild pointer for the first time Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com> | 2 个月前 | |
fs: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
fs: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
aio: fix read and write function aio_read and aio_write function miss check for fd. ltp requires a return value of 0 when fd is invalid. Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com> | 2 个月前 | |
fs/aio: refactored lio_listio() and fixed thread-unsafe issue in lio_listio() Previously, lio_listio() would first call aio_read()/aio_write() to submit I/O, and then set the handler and private variables, which led to thread-unsafe behavior. After this change, lio_listio() now links all I/O requests into a list. When a task is completed, its corresponding node is removed from the list in aio_signal(). The signal is triggered only when the list is empty. Signed-off-by: wushenhui <wushenhui@xiaomi.com> | 2 个月前 | |
aio: fix read and write function aio_read and aio_write function miss check for fd. ltp requires a return value of 0 when fd is invalid. Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com> | 2 个月前 | |
fs/file: unify prefix about file_xxx api, like file_open, file_ioctl old: fs_getfilep, fs_putfilep, fs_reffilep new: file_get, file_put, file_ref Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
lio_listio: make the lio_listio prototype compliant with the POSIX standard Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |