YuQing
|
d22f9da49c
|
bugfixed: MUST call sf_hold_task in sf_nio_notify for rare case
|
2025-11-16 15:29:38 +08:00 |
YuQing
|
5495455fa7
|
do NOT call task->finish_callback
|
2025-11-15 11:14:14 +08:00 |
YuQing
|
fa32972052
|
move use_io_uring and use_send_zc to struct sf_context
|
2025-11-04 15:40:00 +08:00 |
YuQing
|
688211fbcd
|
correct compile error
|
2025-11-03 15:22:45 +08:00 |
YuQing
|
1b2f521b99
|
uring cancel callback release task correctly
|
2025-11-03 14:56:29 +08:00 |
YuQing
|
ddc528d69d
|
restore function sf_client_sock_in_read_stage
|
2025-11-02 15:02:54 +08:00 |
YuQing
|
32d443b497
|
MUST call set_read_event anyway after socket send done
|
2025-10-27 12:28:24 +08:00 |
YuQing
|
932751d392
|
send zc done notify callback for recycling buffer
|
2025-10-20 10:34:47 +08:00 |
YuQing
|
b16526e8f7
|
bug fixed: check_task process correctly
|
2025-10-06 20:55:29 +08:00 |
YuQing
|
68079fc468
|
IOEventCallback: change event type from short to int
|
2025-10-05 16:53:21 +08:00 |
YuQing
|
3dcc1c570d
|
call sf_proto_init_task_magic when task->shrinked
|
2025-10-03 21:06:58 +08:00 |
YuQing
|
cf0950ea62
|
sf_set_read_event just skipped when use_io_uring is true
|
2025-10-03 11:33:26 +08:00 |
YuQing
|
263171c4fe
|
async_connect use io_uring
|
2025-09-30 11:26:11 +08:00 |
YuQing
|
a2ab8a0c01
|
adapt Linux io_uring OK
|
2025-09-27 15:41:56 +08:00 |
YuQing
|
ecee21f289
|
socket send and recv adapt to io_uring
|
2025-09-25 15:54:38 +08:00 |
YuQing
|
bc5af8a58b
|
struct sf_network_handler add field use_iouring
|
2025-09-24 15:59:27 +08:00 |
YuQing
|
f0ee6ce73f
|
struct sf_context remove field: remove_from_ready_list
|
2025-09-21 15:08:08 +08:00 |
YuQing
|
231e2610e5
|
log square quoted IPv6 address
|
2024-03-05 18:07:34 +08:00 |
YuQing
|
78d65ba2c6
|
net buffer config for each sf_context instance
|
2024-02-20 09:53:52 +08:00 |
YuQing
|
cf9088fb0c
|
use task->pending_send_count to prevent re-entry
|
2023-11-06 10:54:50 +08:00 |
YuQing
|
a8867a19c4
|
sf_send_data_callback and sf_send_done_callback changed
|
2023-10-26 10:48:22 +08:00 |
YuQing
|
89a451b8ce
|
call set_read_event in func sf_nio_deal_task
|
2023-10-25 10:02:47 +08:00 |
YuQing
|
db00a7add8
|
set task recv offset and length correctly
|
2023-10-24 21:22:56 +08:00 |
YuQing
|
7f6e7b12b4
|
remove useless variable: length
|
2023-09-29 15:01:23 +08:00 |
YuQing
|
71e7066c81
|
invoke send done callback correctly
|
2023-09-29 14:59:58 +08:00 |
YuQing
|
5f5db2b998
|
support explicit post recv for RDMA
|
2023-09-28 22:20:52 +08:00 |
YuQing
|
17c99cdd55
|
sf_nio_task_is_idle rename to sf_nio_task_send_done
|
2023-09-26 15:26:42 +08:00 |
YuQing
|
f8e3fcdc55
|
adapt to the newest struct fast_task_info from libfastcommon
|
2023-09-25 18:37:53 +08:00 |
YuQing
|
fee1e28348
|
SF_NIO_STAGE_CONNECT stage should call inc_connection_current_count
|
2023-09-22 18:44:32 +08:00 |
YuQing
|
be9b71422f
|
nio support callback connect_done for client
|
2023-09-22 18:27:12 +08:00 |
YuQing
|
3c7ebd14d9
|
MUST call fast_timer_remove after ioevent_detach
|
2023-09-19 09:37:17 +08:00 |
YuQing
|
9fad04f3f9
|
nio threads support busy_polling_callback
|
2023-09-18 16:19:10 +08:00 |
YuQing
|
0eb842dc09
|
sf_nio.c: check_task adapt to RDMA
|
2023-09-14 09:50:49 +08:00 |
YuQing
|
dedc023235
|
add parameter comm_type when load from config
|
2023-09-07 09:38:21 +08:00 |
YuQing
|
b3334d2ad5
|
add function sf_set_body_length
|
2023-09-05 16:45:51 +08:00 |
YuQing
|
5a29dffc50
|
load RDMA APIs from library
|
2023-09-05 07:27:15 +08:00 |
YuQing
|
2839183433
|
move type SFNetworkType to libfastcommon as FCNetworkType
|
2023-09-04 11:01:36 +08:00 |
YuQing
|
36e4922440
|
callbacks impl. for socket
|
2023-09-03 18:35:31 +08:00 |
YuQing
|
2a245a06aa
|
sf_file_writer.[hc] support config call_fsync for performance
|
2023-06-10 14:32:00 +08:00 |
YuQing
|
8bedbb6f27
|
code simplification for last commit
|
2023-02-23 10:51:46 +08:00 |
YuQing
|
92fbcab0f4
|
bugfixed: fastdfs issue #620
set notify.stage to SF_NIO_STAGE_NONE before deal_notified_task
|
2023-02-23 10:30:40 +08:00 |
YuQing
|
a9ebe20b5b
|
upgrade version to 1.1.25
|
2023-02-15 21:04:04 +08:00 |
YuQing
|
13990e3747
|
code simplification for epoll edge trigger
|
2023-02-12 20:04:01 +08:00 |
YuQing
|
294ad5e636
|
use field notify_next for notify queue of nio thread
|
2023-02-12 19:47:31 +08:00 |
YuQing
|
c1ae024da5
|
enable epoll edge trigger by global variable epoll_edge_trigger
|
2023-02-12 10:38:46 +08:00 |
YuQing
|
69f117c956
|
check socket connected on unexpected stage
|
2022-12-30 17:23:18 +08:00 |
YuQing
|
cf4856e04b
|
support send_done_callback for FastDFS
|
2022-09-14 10:38:38 +08:00 |
YuQing
|
a0f16319e0
|
struct sf_shared_mbuffer: Must move buff to last
|
2022-08-30 11:07:31 +08:00 |
YuQing
|
8b22655352
|
add function sf_release_task_shared_mbuffer
|
2022-08-28 17:25:50 +08:00 |
YuQing
|
2ebb51dcfd
|
support alloc_recv_buffer callback
|
2022-08-25 18:22:16 +08:00 |