diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2019-02-25 12:37:50 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-03-05 18:55:17 +0100 |
commit | 13488d53775ba5f82dc4075c424d06dfe4b6b162 (patch) | |
tree | 96cf07b627778e4974edc95b81e48db350f5515a /crypto/sha1_generic.c | |
parent | e28eded58bdb5579e7f772160f09d33760e3354d (diff) |
rbd: stop copying num_osd_ops in rbd_obj_issue_copyup()
In preparation for deep-flatten feature, stop copying num_osd_ops from
the original request in rbd_obj_issue_copyup(). Split the calculation
into count_{write,zeroout}_ops() respectively and determine whether the
assert_exists guard is needed with the new rbd_obj_copyup_enabled().
As a nice side effect, we no longer guard in the writefull case as the
copyup'ed object is always fully overwritten.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'crypto/sha1_generic.c')
0 files changed, 0 insertions, 0 deletions