ceph: re-request max_size if cap auth changes
authorSage Weil <sage@newdream.net>
Sun, 7 Nov 2010 17:39:00 +0000 (09:39 -0800)
committerSage Weil <sage@newdream.net>
Sun, 7 Nov 2010 17:39:23 +0000 (09:39 -0800)
If the auth cap migrates to another MDS, clear requested_max_size so that
we resend any pending max_size increase requests.  This fixes potential
hangs on writes that extend a file and race with an cap migration between
MDSs.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c

diff --cc fs/ceph/caps.c
Simple merge