Skip to contentSkip to conversation

fs/io-wq.c:291:2-11: second lock on line 291 (fwd)

PATCH Julia Lawall 1 participant 1 message Oct 24, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Jens Axboe
Quoted 5 lines · Julia Lawall

Hello,

This is actually complaining about the continues on lines 295 and 298. I guess the calls to io_wq_run_queue and __io_worker_idle release the lock in the case of success?

Right, and I haven't found a good way to annotate that. Any suggestions?

Coccinelle doesn't pick up on annotations at the moment, so the only thing I can suggest is a comment.

julia