librados/ObjectOperation: add new function set_op_flags2

After adding four read/write fadvise flags OP_FADVISE_*, those flags
can set multi flags at the same time. For compatibility, add new
function. The old func set_op_flags will be deprecated.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd/internal: Modify read/write api to handle op flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd: Add m_op_flags in AioRead to track op flags for rbd read.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd: Add set_op_flags in AioWrite to set op_flags for rbd write.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd: add new read/write api for librbd C interface which handle op
flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd: Modify read/write/aio_read/aio_write api for librbd C++ interface which can handle fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
librbd: increment version for new functions rbd_read2/write2,rbd_aio_read2/write2.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
osd: print OSDOp flags

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
ObjectStore: Modify read function can handle fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
PGBackend: Make objects_read_sync can handle fadvise flags

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
encoding: Add type boost::tuple<A,B,C> encoding/decode func.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
types: Add operator<< for type boost::tuple<A, B, C>.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
include: Remove unused code: class triple.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
osd: Make async-read can handle fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
PGTransaction: Modify append/write function can handle fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
ObjectStore/Transaction: Add fadvise_flags to track write fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
ECBackend: Make parity data don't cache.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
FileStore: Implement fadvise handle for read-operation.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
test/librbd: test/librbd: Add test case for librbd function which can handle fadvise flags.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
test/librados: Add test case for librados function which can handle fadvise flas.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>