]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-blkback: clear PF_NOFREEZE for xen_blkif_schedule()
authorJiri Kosina <jkosina@suse.cz>
Mon, 26 Oct 2015 05:47:21 +0000 (14:47 +0900)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 May 2016 20:27:30 +0000 (22:27 +0200)
commitdd3b19d1129cc06622825e7b7175a880e3046cec
tree9ba458b371be05c85c84328529ae1a10916c83d8
parent89b7cb684307a1fa8abf2b86a11ffccbbac1ac00
xen-blkback: clear PF_NOFREEZE for xen_blkif_schedule()

xen_blkif_schedule() kthread calls try_to_freeze() at the beginning of
every attempt to purge the LRU. This operation can't ever succeed though,
as the kthread hasn't marked itself as freezable.

Before (hopefully eventually) kthread freezing gets converted to fileystem
freezing, we'd rather mark xen_blkif_schedule() freezable (as it can
generate I/O during suspend).

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit a6e7af1288eeb7fca8361356998d31a92a291531)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/block/xen-blkback/blkback.c