commit | a46b53672b2c2e3770b38a4abf90d16364d2584b | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Mon Aug 13 16:01:11 2018 +0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Aug 27 12:12:03 2018 -0400 |
tree | 0ce7ddd134914342f4144623afc89d0526a1a852 | |
parent | 973e5405f2f67ddbb2bf07b3ffc71908a37fea8e [diff] |
xen/blkfront: cleanup stale persistent grants Add a periodic cleanup function to remove old persistent grants which are no longer in use on the backend side. This avoids starvation in case there are lots of persistent grants for a device which no longer is involved in I/O business. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>