Actions
Cleanup #20604
closedstartsync can be removed
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Description
<sage> btw i just noticed kclient is still sending write,startsync .. that startsync is a no-op (has been for years) and can probably be removed
Files
Updated by Amit Kumar almost 7 years ago
I believe you are talking about OP_STARTSYNC = 27, // start a sync
present inside class ObjectStore::Transaction
Updated by Amit Kumar almost 7 years ago
Updated by Ilya Dryomov almost 7 years ago
This ticket is for the kernel client -- don't close until it's done there as well.
Updated by Yanhu Cao almost 7 years ago
- File 0001-ceph-kernel-client-startsync-can-be-removed.patch 0001-ceph-kernel-client-startsync-can-be-removed.patch added
I use ceph-client master branch to fix this, see attachment.
Updated by Ilya Dryomov almost 7 years ago
Kernel client should be sent to ceph-devel as plain text.
I took a quick look, in ceph_direct_read_write() you removed the "/*include a 'startsync' command*/" comment, but ceph_osdc_new_request() is still called with num_ops == 2 for writes, reserving a slot for startsync op.
Updated by Jos Collin over 6 years ago
PR: https://github.com/ceph/ceph/pull/16396 is merged. This tracker is now waiting for the kclient to be fixed.
Updated by Ilya Dryomov over 6 years ago
- Status changed from In Progress to Resolved
The kernel client patch is in 4.14 queue.
Actions