[patch tabled 1/8] Shuffle fields of storage nodes

2010-11-28 Thread Pete Zaitcev
This helps copy-paste safer later, mostly. Signed-off-by: Pete Zaitcev zait...@redhat.com --- server/object.c |2 - server/storage.c | 79 ++--- server/tabled.h | 12 +++--- 3 files changed, 53 insertions(+), 40 deletions(-) commit

[patch tabled 2/8] Comment storage.c

2010-11-28 Thread Pete Zaitcev
I have a vague memory that It should be ok to return meant something related to the way our event dispatch worked, but I cannot recall any details. Ergo, useless comment. Signed-off-by: Pete Zaitcev zait...@redhat.com --- server/storage.c |6 +++--- 1 file changed, 3 insertions(+), 3

[patch tabled 5/8] Rename in_storage to in_socket

2010-11-28 Thread Pete Zaitcev
The clause is called Socket, so the old name was confusing. Signed-off-by: Pete Zaitcev zait...@redhat.com --- server/storparse.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) commit 6536a193f1befcf3eed8b18535990e8566518479 Author: Pete Zaitcev zait...@yahoo.com

[patch tabled 4/8] Split out chunk back-end

2010-11-28 Thread Pete Zaitcev
This patch is careful not to change anything but the strictly necessary parts in the actual code. Signed-off-by: Pete Zaitcev zait...@redhat.com --- server/Makefile.am |3 server/stor_chunk.c | 409 ++ server/storage.c| 377

[patch tabled 6/8] Add filesystem back-end

2010-11-28 Thread Pete Zaitcev
This patch adds the first new back-end and makes some changes to the way nodes are added, to make the invariants of storage_node more sensible. The filesystem back-end itself is not intended for production use, so it makes no attempt to run any asynchronous transfers. We also add a test. Note

[patch tabled 8/8] Add Swift back-end

2010-11-28 Thread Pete Zaitcev
This patch allows to use tabled with OpenStack Swift object store as if it were our chunkserver, with some extra tricks. The configuration has to be entred manually into CLD, just like in case of filesystem back-end. The code is fairly experimental, so it retains extra messages. Also, since

[patch tabled 7/8] Clenaup stor_chunk.c

2010-11-28 Thread Pete Zaitcev
Signed-off-by: Pete Zaitcev zait...@redhat.com --- server/stor_chunk.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) commit ca0920cfe5978839ee1a35d6096754a87db6f9ac Author: Pete Zaitcev zait...@yahoo.com Date: Sun Nov 28 18:01:24 2010 -0700 Cleanup stor_chunk. diff