aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorNaveen Krishna Chatradhi <[email protected]>2014-05-08 21:58:15 +0800
committerHerbert Xu <[email protected]>2014-05-08 21:58:15 +0800
commitdc5e3f1953b8bbfa6a7e8854d352c7da007ec6d9 (patch)
tree4f05f8f3245710265398dfc76e37a433a81f6a15 /fs/jbd2/commit.c
parentc1eb7ef2656b0bf176c0a699df4f8830fa09d9aa (diff)
crypto: s5p-sss - Look for the next request in the queue
Currently, the driver enqueues a request only if the busy bit is false. And every request initiates a dequeue. If 2 requests arrive simultaneously, only one of them will be dequeued. To avoid this senario, we will enqueue the next request irrespective of the system condition (that is what queue is here for). Also schedule at a tasklet immediatly after the current request is done. The tasklet will dequeue the next request in the queue, giving continuous loop. tasklet will exit if there are no requests in the queue. Signed-off-by: Naveen Krishna Chatradhi <[email protected]> CC: David S. Miller <[email protected]> CC: <[email protected]> Acked-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions