summaryrefslogtreecommitdiffstats
path: root/geo-replication/src/peer_mountbroker.py.in
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2019-09-18 16:32:08 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2019-09-27 11:30:47 +0000
commit5a2af2fd06356f6fc79d591c352caffd4c511c9e (patch)
tree8910a50f31e506364fa1dd6391b09f18c4c2371a /geo-replication/src/peer_mountbroker.py.in
parent356d46b13031be82cc2e0b0eaad7e7fcfccc7c35 (diff)
gfapi: 'glfs_h_creat_open' - new API to create handle and open fd
Right now we have two separate APIs, one - 'glfs_h_creat_handle' to create handle & another - 'glfs_h_open' to create a glfd to return to application Having two separate routines can result in access errors while trying to create and write into a read-only file. Since a fd is opened even during file/directory creation, introducing a new API to make these two operations atomic i.e, which can create both handle & fd and pass them to application This is backport of below mainline patch - - https://review.gluster.org/#/c/glusterfs/+/23448/ - bz#1753569 Change-Id: Ibf513fcfcdad175f4d7eb6fa7a61b8feec6d33b5 fixes: bz#1755785 Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'geo-replication/src/peer_mountbroker.py.in')
0 files changed, 0 insertions, 0 deletions