Peter Portante a3a03e0ed8 object-storage: Bump size of metadata stored per xattr key
For Gluster, since we require XFS, and XFS has a max metadata value size of 64
KB, use the increased stored size to reduce the number of system calls, and
how often we exit and enter the Python interpreter (via calls to pyxattr
module).

Today, with the hardcoded 254 byte limit per xattr key/value pair, adding a
couple hundred bytes of user specified metadata can translate to up to three
xattr key/value pairs (remember that the internal python metadata dictionary
is pickled first and then stored in chunks in the keys).

Change-Id: I6648106e8fac31f973ce207a6fecbcdab11fa271
BUG: 865493
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/4108
Reviewed-by: Mohammed Junaid <junaid@redhat.com>
Tested-by: Anand Avati <avati@redhat.com>
2013-04-29 16:35:55 -04:00
..
2013-04-29 16:35:55 -04:00

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
* Clone the swift repo from git://github.com/openstack/swift.git
* Apply the swift.diff present in glusterfs.git/swift/1.4.8 to the swift repo.
* Create a directory named "plugins" under swift.git/swift directory.
* Copy the contents of glusterfs.git/swift/1.4.8/plugins/ under swift.git/swift/
  except the conf directory.
* Copy the contents of glusterfs.git/swift/1.4.8/plugins/conf under /etc/swift/.
* Run python setup.py install

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
  swift-init main start

Command to stop the servers
  swift-init main stop