cluster/afr: remove pump related code

Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: general cleanup

- remove unused variables and functions
- make code more consistent in style and pattern

Change-Id: I8f1551f386dc0a680cc463b6d42d5741f52e81f2
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: clean up inode-write transactions

regularize and cleanup inode-write FOPs

Change-Id: I2c7224142b3492058aaa73dab6ea69eb6da55443
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: clean up dir-write transactions

regularize and cleanup dir-write FOPs

Change-Id: Icdcb8f6029d234d718d8afd2fb8e8ae01a94047d
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: cleanup common FOPs

Change-Id: I22fba3219331865c7155fa40ef67a6dbac25e854
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: reorganize transaction code

- remove more unused variables and functions
- move non transaction code to afr-common.c
- skip setting xattrs in pending dict if nothing is pending

Change-Id: I819d6f2ac522731fbabc64eada3196c47e88c83a
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: fixes in logic

Change-Id: Idd20b2d119448005036c6f486d93b2d0c9ee3d53
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/dht: check for inode pointer in readdirp_cbk

Do not assume inode pointer will always be set in readdirp_cbk

Change-Id: I3a88f3eedd8c345f16f043abf01a0502e40d7e60
Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: implement per-transaction-type dirty flags

Each of DATA, METADATA and ENTRY transactions now have their
own dirty flag.

Signed-off-by: Anand Avati <avati@redhat.com>
cluster/afr: implement self-heal using syncops

Signed-off-by: Anand Avati <avati@redhat.com>