Have the co-routine (greenlet) yield during long running directory tree walks to avoid starving out other greenlets that might be available to run. A directory walk involves statting every file in the tree to get it size. For large numbers of files, this can get expensive. So we yield after every stat call, and after processing every directory. Change-Id: I07f1dfeef6a09b5817e0c237ecc748c491d52a31 BUG: 894674 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/4380 Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Mohammed Junaid <junaid@redhat.com> Tested-by: Mohammed Junaid <junaid@redhat.com>
Gluster Unified File and Object Storage allows files and directories created via gluster-native/nfs mount to be accessed as containers and objects. It is a plugin for OpenStack Swift project. Install * TBD Once this is done, you can access the GlusterFS volumes as Swift accounts. Add the Volume names with the user-name and its corresponding password to the /etc/swift/proxy-server.conf (follow the syntax used in the sample conf file). Command to start the servers (TBD) swift-init main start Command to stop the servers (TBD) swift-init main stop