Files
linux/drivers
Alex Elder a3fbe5d447 rbd: don't revalidate so much
Whenever a header object event causes a mapped rbd image to refresh
its header information, revalidate_disk() is being called.  This was
done in rbd_dev_refresh() outside the control mutex in order to
avoid a lock inversion.  Although a an event like this *might*
indicate the image has changed size, most of the time it does not.

Record the image size before and after the refresh, and only
call revalidate_disk() if it changes.

This resolves:
    http://tracker.ceph.com/issues/4867

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-01 21:20:11 -07:00
..
2013-04-09 18:03:25 +01:00
2013-05-01 21:20:11 -07:00
2013-04-05 21:02:17 +08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-01 13:39:00 -08:00
2013-04-19 17:57:48 -04:00
2013-02-27 19:10:18 -08:00
2013-04-07 15:11:27 +03:00
2013-02-27 19:10:18 -08:00
2013-04-26 07:59:23 -07:00
2013-02-27 19:10:19 -08:00
2013-02-22 23:31:31 -05:00