]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: change no_delay flag to a flags field
authorJeff Layton <jlayton@redhat.com>
Wed, 9 Nov 2016 14:36:07 +0000 (09:36 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 11 Nov 2016 11:28:47 +0000 (06:28 -0500)
commit0df562a8e13e1e655d3d6a8f4005c450c5190a56
treea9aa48bcadc7d1b07a85adb1f157c03e716a9246
parent93954d0e99296c58ef85cd9fdf455e939d5f4fd4
client: change no_delay flag to a flags field

In a later patch, we'll want to have the client set the sync flag in
the cap flush, to hint to the MDS that it should process it immediately.

We could add a second bool, but let's instead do what the kernel client
does which is to have a flags field. With that, the existing no_delay
bool becomes CHECK_CAPS_NODELAY.

We'll add other flags in subsequent patches.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h