[PATCH] rbd: don't treat CEPH_OSD_OP_DELETE as extent op

2014-11-24 Thread Ilya Dryomov
CEPH_OSD_OP_DELETE is not an extent op, stop treating it as such. This sneaked in with discard patches - it's one of the three osd ops (the other two are CEPH_OSD_OP_TRUNCATE and CEPH_OSD_OP_ZERO) that discard is implemented with. Signed-off-by: Ilya Dryomov idryo...@redhat.com ---

Re: [PATCH] rbd: don't treat CEPH_OSD_OP_DELETE as extent op

2014-11-24 Thread Alex Elder
On 11/24/2014 03:59 AM, Ilya Dryomov wrote: CEPH_OSD_OP_DELETE is not an extent op, stop treating it as such. This sneaked in with discard patches - it's one of the three osd ops (the other two are CEPH_OSD_OP_TRUNCATE and CEPH_OSD_OP_ZERO) that discard is implemented with. Signed-off-by:

Re: [PATCH] rbd: don't treat CEPH_OSD_OP_DELETE as extent op

2014-11-24 Thread Ilya Dryomov
On Mon, Nov 24, 2014 at 3:23 PM, Alex Elder el...@ieee.org wrote: On 11/24/2014 03:59 AM, Ilya Dryomov wrote: CEPH_OSD_OP_DELETE is not an extent op, stop treating it as such. This sneaked in with discard patches - it's one of the three osd ops (the other two are CEPH_OSD_OP_TRUNCATE and