diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-06-15 10:30:55 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-07-07 11:25:16 -0400 |
commit | 04c7d789e269c2b82bbd08106049a5a979cdb3fd (patch) | |
tree | db72e960611bfbcffe75d0a5a0efff8642cc3eb6 /include/linux/ceph | |
parent | a10bcb19ae02cea7d5e6650fbc2de3ced46b4e5d (diff) |
libceph: make sure need_resend targets reflect latest map
Otherwise we may miss events like PG splits, pool deletions, etc when
we get multiple incremental maps at once. Because check_pool_dne() can
now be fed an unlinked request, finish_request() needed to be taught to
handle unlinked requests.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/osd_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index bca2718ac253..62c672bcbb31 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h | |||
@@ -149,6 +149,7 @@ struct ceph_osd_request_target { | |||
149 | unsigned int flags; /* CEPH_OSD_FLAG_* */ | 149 | unsigned int flags; /* CEPH_OSD_FLAG_* */ |
150 | bool paused; | 150 | bool paused; |
151 | 151 | ||
152 | u32 epoch; | ||
152 | u32 last_force_resend; | 153 | u32 last_force_resend; |
153 | 154 | ||
154 | int osd; | 155 | int osd; |