diff options
author | Minchan Kim <[email protected]> | 2017-02-24 14:56:47 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-02-24 17:46:54 -0800 |
commit | a09759acaacf6cf738e1bc6c66d41485c87fd371 (patch) | |
tree | 0ffdb1ead5874b09ebbbb13cccc819ff9b3d68a5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3edf41d84587701db4650276262d1b71fdf20d9f (diff) |
zram: remove waitqueue for IO done
zram_reset_device() waits for ongoing writepage pages to be completed by
zram->refcount logic. However, it's pointless because before the reset,
we prevent further opening of zram by zram->claim and flush all of
pending IO by fsync_bdev so there should be no pending IO at the
zram_reset_device().
So let's remove that code which is even broken due to the lack of
wake_up elsewhere.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions