summaryrefslogtreecommitdiff
path: root/str.c
AgeCommit message (Expand)AuthorFilesLines
2016-01-28str: Add str2mac helper functionVadim Kochan1-0/+29
2015-12-17str: Add helper to extend dynamically argv listVadim Kochan1-0/+20
2015-11-09str: Add converting cmdline args vector to str moduleVadim Kochan1-0/+23
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+88
> (diff)
xen-blkfront: save uncompleted reqs in blkfront_resume()
Uncompleted reqs used to be 'saved and resubmitted' in blkfront_recover() during migration, but that's too late after multi-queue was introduced. After a migrate to another host (which may not have multiqueue support), the number of rings (block hardware queues) may be changed and the ring and shadow structure will also be reallocated. The blkfront_recover() then can't 'save and resubmit' the real uncompleted reqs because shadow structure have been reallocated. This patch fixes this issue by moving the 'save' logic out of blkfront_recover() to earlier place in blkfront_resume(). The 'resubmit' is not changed and still in blkfront_recover(). Signed-off-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: stable@vger.kernel.org
Diffstat