diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-07-05 12:57:39 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2015-07-08 02:36:44 -0700 |
commit | 8c3cec03e324037ece79f3285fd2fddadce0dd29 (patch) | |
tree | 8efc3119f2ffe091b71c557f1b3cf6ddbfd6df45 /doc | |
parent | 638febc61deb78c30bcecd147f3bc3df3d85e0fe (diff) |
snapshot/scheduler: Use /var/run/gluster/shared_storage/snaps/tmp_file
for writing data into tmp file and then making an atomic rename to
the required filename.
The reason for using this location is that it adheres to
the selinux policies.
Also moving the update of the current_scheduler file,
under the lock so as to avoid multiple writes
Change-Id: I61e62b5daf6f1bce2319f64f7b1dfb8b93726077
BUG: 1239269
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/11535
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions