io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-5.15 v2 0/2] fix failed linkchain code logic
@ 2021-08-23  3:25 Hao Xu
  2021-08-23  3:25 ` [PATCH 1/2] io_uring: remove redundant req_set_fail() Hao Xu
  2021-08-23  3:25 ` [PATCH 2/2] io_uring: fix failed linkchain code logic Hao Xu
  0 siblings, 2 replies; 7+ messages in thread
From: Hao Xu @ 2021-08-23  3:25 UTC (permalink / raw)
  To: Jens Axboe; +Cc: io-uring, Pavel Begunkov, Joseph Qi

the first patch is code clean.
the second is the main one, which refactors linkchain failure path to
fix a problem, detail in the commit message.

v1-->v2
 - update patch with Pavel's suggestion.

Hao Xu (2):
  io_uring: remove redundant req_set_fail()
  io_uring: fix failed linkchain code logic

 fs/io_uring.c | 60 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 44 insertions(+), 16 deletions(-)

-- 
2.24.4


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH for-5.15 v3 0/2] fix failed linkchain code logic
@ 2021-08-27  9:46 Hao Xu
  2021-08-27  9:46 ` [PATCH 2/2] io_uring: " Hao Xu
  0 siblings, 1 reply; 7+ messages in thread
From: Hao Xu @ 2021-08-27  9:46 UTC (permalink / raw)
  To: Jens Axboe; +Cc: io-uring, Pavel Begunkov, Joseph Qi

the first patch is code clean.
the second is the main one, which refactors linkchain failure path to
fix a problem, detail in the commit message.

v1-->v2
 - update patch with Pavel's suggestion.
v2-->v3
 - move req->result initiation to better place
 - add helpers for failing link node

Hao Xu (2):
  io_uring: remove redundant req_set_fail()
  io_uring: fix failed linkchain code logic

 fs/io_uring.c | 62 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 47 insertions(+), 15 deletions(-)

-- 
2.24.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-27  9:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23  3:25 [PATCH for-5.15 v2 0/2] fix failed linkchain code logic Hao Xu
2021-08-23  3:25 ` [PATCH 1/2] io_uring: remove redundant req_set_fail() Hao Xu
2021-08-23  3:25 ` [PATCH 2/2] io_uring: fix failed linkchain code logic Hao Xu
2021-08-23 11:02   ` Pavel Begunkov
2021-08-23 17:12     ` Pavel Begunkov
2021-08-23 18:45     ` Hao Xu
2021-08-27  9:46 [PATCH for-5.15 v3 0/2] " Hao Xu
2021-08-27  9:46 ` [PATCH 2/2] io_uring: " Hao Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).