]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:21:24 +0000 (12:21 -0500)
commita6e7af1288eeb7fca8361356998d31a92a291531
tree320068fcc79f1165213ecbbd526c84d0938d31cf
parent2d0382fac17cef20d507a0211b82e0942b2ab271
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>
drivers/block/xen-blkback/blkback.c