libceph: schedule tick from ceph_osdc_init()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:24 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:28 +0000 (00:36 +0200)
commitfbca963532eba779bffa14c70d1dc619e6bfa16d
tree0a6281b1f680c18db4734a5b1de5067da605770a
parentb37ee1b9b840a6da63e78865f97a9a78b7534477
libceph: schedule tick from ceph_osdc_init()

Both homeless OSD sessions and watch/notify v2, introduced in later
commits, require periodic ticks which don't depend on ->num_requests.
Schedule the initial tick from ceph_osdc_init() and reschedule from
handle_timeout() unconditionally.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c