Commit Graph

2 Commits

Author SHA1 Message Date
Kefu Chai
5242487486 qa/workunits/cls: add executable bit to script
all the scripts except for test_cls_cas.sh under qa/workunits/cls
are executable. to be more consistent, add the executable bit to
test_cls_cas.sh as well.

also, these scripts are launched by src/script/gen-corpus.sh directly,
so it's convenient just call them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-12 19:28:47 +08:00
Sage Weil
f80b23e5e8 cls_cas: renames, cleanups
- add write_or_get method
- fix PrimaryPG caller ot use write_or_get
- remove old method it previously called that did weird things
- cls_chunk_refcount_* -> cls_cas_chunk_*
- add _ref suffix for get and put to avoid confusion (get/put could mean
  read/write)
- some comments
- move (internal) refcount representation into separate header

Signed-off-by: Sage Weil <sage@newdream.net>
2020-05-27 10:44:31 -05:00