summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorYuwei Guan <Yuwei.Guan@zeekrlife.com>2022-12-13 17:34:19 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-06 15:13:42 -0800
commit185a453bf1b5688f8c77f2646b0b6f3b1cbdddca (patch)
treefc76d80d488d6be34a592a50d243cb3942a4a0e8 /net/lapb/lapb_timer.c
parent8358014d6be8f3cb507d247d6a623e5961f848d0 (diff)
f2fs: deliver the accumulated 'issued' to __issue_discard_cmd_orderly()
Any of the following scenarios will send more than the number of max_requests at a time, which will not meet the design of the max_requests limit. - Set max_ordered_discard larger than discard_granularity from userspace. - It is a small size device, discard_granularity can be tuned to 1 in f2fs_tuning_parameters(). We need to deliver the accumulated @issued to __issue_discard_cmd_orderly() to meet the max_requests limit. BTW, convert the parameter type of @issued in __submit_discard_cmd(). Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com> Cc: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions