osdc/Objecter: flag ops that have been redirected

In the future it may be helpful to know whether an op has been redirected
by the OSD.

We don't need it bad enough now to spend a feature bit to know whether this
flag is reliably set.

Signed-off-by: Sage Weil <sage@inktank.com>
os: rename get_*() -> decode_*()

These methods have side-effects: they move the decode iterator *and*
return a value.  Rename them to avoid confusion with typical get_*
accessors.

Signed-off-by: Sage Weil <sage@inktank.com>
doc: Descrption => Description
Correct spelling error.

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
Merge pull request #1928 from nereocystis/pool-pg-fix-spelling

doc: Descrption => Description

Reviewed-by: Loic Dachary <loic@dachary.org>
XfsFileStoreBackend: nuke redundant goto in set_extsize()

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
XfsFileStoreBackend: call ioctl(XFS_IOC_FSSETXATTR) less often

No need to call ioctl(XFS_IOC_FSSETXATTR) if extsize is already set to
the value we want or if any extents are allocated - XFS will refuse to
change extsize in that's the case.

Fixes: #8241
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Merge pull request #1922 from ceph/wip-os-rename

os: rename get_*() -> decode_*()

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Merge pull request #1930 from ceph/wip-set-extsize-fix

Wip set extsize fix

Backport: firefly
Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #1891 from ceph/wip-8380-b

osdc/Objecter: flag ops that have been redirected
PGLog: add rollback_info_trimmed_to_riter to IndexedLog and use in PG

Signed-off-by: Samuel Just <sam.just@inktank.com>
osd/: plumb rollback_trim_to through interfaces and messages

We simply trim the roll back info up to min_last_complete_ondisk
since we cannot correctly rollback past that point anyway!

ReplicatedPG
-> PGBackend::submit_transaction
-> Backend messages
-> PGBackend::Listener::log_operation
-> append_log

Signed-off-by: Samuel Just <sam.just@inktank.com>
osd/: in scrub, check for and remove obsolete rollback objs

Signed-off-by: Samuel Just <sam.just@inktank.com>
Merge remote-tracking branches 'origin/wip-7999', 'origin/wip-8396', 'origin/wip-8438' and 'origin/wip-8507' into wip-sam-testing