Files
kernel/fs
Jens Axboe e941894eae io-wq: make buffered file write hashed work map per-ctx
Before the io-wq thread change, we maintained a hash work map and lock
per-node per-ring. That wasn't ideal, as we really wanted it to be per
ring. But now that we have per-task workers, the hash map ends up being
just per-task. That'll work just fine for the normal case of having
one task use a ring, but if you share the ring between tasks, then it's
considerably worse than it was before.

Make the hash map per ctx instead, which provides full per-ctx buffered
write serialization on hashed writes.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-02-25 09:23:47 -07:00
..
2020-12-10 15:33:14 +01:00
2020-09-10 14:03:31 -07:00
2020-12-19 11:18:38 -08:00
2020-08-04 21:02:38 -04:00
2020-07-31 08:16:01 +02:00
2021-01-29 10:06:46 +05:30
2020-08-19 14:14:19 +02:00
2021-01-25 12:32:26 -08:00
2020-07-31 08:16:00 +02:00
2020-09-26 22:55:05 -04:00
2021-02-13 17:17:53 +01:00
2020-07-31 08:16:01 +02:00