Giannakos Filippos [Fri, 21 Sep 2012 20:06:06 +0000 (23:06 +0300)]
add debug fprintf messages
Giannakos Filippos [Fri, 21 Sep 2012 16:17:04 +0000 (19:17 +0300)]
fix various bugs
Filippos Giannakos [Fri, 21 Sep 2012 10:34:28 +0000 (13:34 +0300)]
git add sha256.{h,c}
Filippos Giannakos [Fri, 21 Sep 2012 10:33:25 +0000 (13:33 +0300)]
git add mt-vlmcd.c
Filippos Giannakos [Fri, 21 Sep 2012 10:23:20 +0000 (13:23 +0300)]
fix filed bug and add delete support in mt-mapperd
Filippos Giannakos [Fri, 21 Sep 2012 08:39:21 +0000 (11:39 +0300)]
add support for delete in filed
Filippos Giannakos [Fri, 21 Sep 2012 08:14:08 +0000 (11:14 +0300)]
add pfiled
Filippos Giannakos [Thu, 20 Sep 2012 17:23:16 +0000 (20:23 +0300)]
fix various bugs in mt-mapperd. add map write support
Filippos Giannakos [Wed, 19 Sep 2012 16:43:04 +0000 (19:43 +0300)]
fix various bugs in mt-mapperd.
also add copy to filed and magic in xheap header
Filippos Giannakos [Tue, 18 Sep 2012 16:32:47 +0000 (19:32 +0300)]
fix various mt-mapperd bugs. also add xseg-tool clone support
Filippos Giannakos [Mon, 17 Sep 2012 16:13:19 +0000 (19:13 +0300)]
add WIP mt-mapperd
Filippos Giannakos [Fri, 14 Sep 2012 13:51:58 +0000 (16:51 +0300)]
make xseg resize check allocated size
Filippos Giannakos [Fri, 14 Sep 2012 12:39:28 +0000 (15:39 +0300)]
add support to xhash for strings
Filippos Giannakos [Fri, 14 Sep 2012 10:10:12 +0000 (13:10 +0300)]
fix xhash (xhashidx, assert hack etc.)
Filippos Giannakos [Thu, 13 Sep 2012 11:48:50 +0000 (14:48 +0300)]
add an experimental version of mt-vlcmd, and a dummy mapperd
also fix xprotocol.h and change mpeer interface
Filippos Giannakos [Tue, 11 Sep 2012 12:45:06 +0000 (15:45 +0300)]
split signal initialization into local and remote part
Filippos Giannakos [Tue, 11 Sep 2012 08:54:16 +0000 (11:54 +0300)]
fix xseg_pthread user driver {prepare, cancel} wait
Filippos Giannakos [Mon, 10 Sep 2012 14:52:29 +0000 (17:52 +0300)]
add mt-peer skeleton plus mt-sosd, dummy peer.
also expose peer init signal through xseg api,
as needed by pthread peers
Giannakos Filippos [Mon, 10 Sep 2012 10:50:22 +0000 (13:50 +0300)]
do some code clean up. fix xseg callback to only take portno as argument
User [Fri, 7 Sep 2012 15:27:25 +0000 (18:27 +0300)]
make drivers respect xsegbd's {prepare, cancel}_wait
User [Fri, 7 Sep 2012 15:22:39 +0000 (18:22 +0300)]
fix xsegbd to use req->priv pointer instead of xseg_{get,set} req data
User [Fri, 7 Sep 2012 09:04:25 +0000 (12:04 +0300)]
fix xseg request preparation bug
User [Thu, 6 Sep 2012 15:13:39 +0000 (18:13 +0300)]
add debug messages, and fix a xheap bug
User [Thu, 6 Sep 2012 13:34:04 +0000 (16:34 +0300)]
fix xsegbd to work with the new scheme. needs further testing
also fix xhash shrink bug and xpool exports
Filippos Giannakos [Thu, 6 Sep 2012 10:22:12 +0000 (13:22 +0300)]
fix xsegbd based on the new allocation scheme
Filippos Giannakos [Tue, 4 Sep 2012 14:54:01 +0000 (17:54 +0300)]
fix xsegbd to compile
Filippos Giannakos [Tue, 4 Sep 2012 14:36:49 +0000 (17:36 +0300)]
add pthread kernel driver
Filippos Giannakos [Tue, 4 Sep 2012 14:13:03 +0000 (17:13 +0300)]
add pthread user driver
Filippos Giannakos [Tue, 4 Sep 2012 13:02:52 +0000 (16:02 +0300)]
fix filed, xseg tool to use the new xseg api
Filippos Giannakos [Tue, 4 Sep 2012 09:22:36 +0000 (12:22 +0300)]
add xseg {get,set} req data
Filippos Giannakos [Mon, 3 Sep 2012 15:56:12 +0000 (18:56 +0300)]
initial commit for xpaths code
Filippos Giannakos [Mon, 3 Sep 2012 14:53:44 +0000 (17:53 +0300)]
add max allocated reqs per port. also some other minor fixes
Filippos Giannakos [Mon, 3 Sep 2012 14:23:46 +0000 (17:23 +0300)]
make xheap use a more complex indexing system
Filippos Giannakos [Mon, 3 Sep 2012 10:10:00 +0000 (13:10 +0300)]
xobj: keap xheap chunks instead of each object in allocated hash table
also add additional book keeping info
Filippos Giannakos [Fri, 31 Aug 2012 16:56:58 +0000 (19:56 +0300)]
add support for resizable queues
also fix heap index bug
Filippos Giannakos [Fri, 31 Aug 2012 13:29:42 +0000 (16:29 +0300)]
small fixes in xseg-tool , filed
Filippos Giannakos [Fri, 31 Aug 2012 11:51:11 +0000 (14:51 +0300)]
fix xsegbd according to the new allocation scheme
Filippos Giannakos [Fri, 31 Aug 2012 10:56:13 +0000 (13:56 +0300)]
fix xhash to compile in kernel. also removed numerous compiler warnings
Filippos Giannakos [Fri, 31 Aug 2012 09:49:12 +0000 (12:49 +0300)]
make default reqs per queue a definetion instead of a hardcoded value
Filippos Giannakos [Fri, 31 Aug 2012 08:32:18 +0000 (11:32 +0300)]
remove unneeded {alloc, free}_request functions
Filippos Giannakos [Fri, 31 Aug 2012 08:28:18 +0000 (11:28 +0300)]
make bind port reuse previously unfreed port
Filippos Giannakos [Thu, 30 Aug 2012 16:04:38 +0000 (19:04 +0300)]
add makefiles for xtypes
Filippos Giannakos [Thu, 30 Aug 2012 16:01:54 +0000 (19:01 +0300)]
fix xseg-tool rnd functions to check for error on submit
also changeg type of xqindex to uint64_t
Filippos Giannakos [Thu, 30 Aug 2012 15:39:17 +0000 (18:39 +0300)]
fix remaining bugs from old code
Filippos Giannakos [Thu, 30 Aug 2012 13:52:48 +0000 (16:52 +0300)]
add xtypes to kernel makefile
Filippos Giannakos [Thu, 30 Aug 2012 13:36:49 +0000 (16:36 +0300)]
fix xseg-tool. temp fix to other peers, just to compile
Filippos Giannakos [Thu, 30 Aug 2012 12:51:00 +0000 (15:51 +0300)]
make xhash request for less allocated space
Filippos Giannakos [Thu, 30 Aug 2012 12:30:02 +0000 (15:30 +0300)]
fix filed
Filippos Giannakos [Thu, 30 Aug 2012 11:37:55 +0000 (14:37 +0300)]
added necessary compiler memory barrier to xlock_release
also some makefile fixes
Filippos Giannakos [Thu, 30 Aug 2012 10:17:14 +0000 (13:17 +0300)]
fix numerous compile errors
Filippos Giannakos [Thu, 30 Aug 2012 09:36:17 +0000 (12:36 +0300)]
modify Makefile to include new xtypes
Filippos Giannakos [Thu, 30 Aug 2012 09:25:44 +0000 (12:25 +0300)]
add portno to port struct
Filippos Giannakos [Thu, 30 Aug 2012 09:23:27 +0000 (12:23 +0300)]
fix the way drivers get xseg port
Filippos Giannakos [Thu, 30 Aug 2012 09:20:05 +0000 (12:20 +0300)]
rewrite remaining xseg functions with the new allocation scheme
Filippos Giannakos [Wed, 29 Aug 2012 16:13:14 +0000 (19:13 +0300)]
write more xseg functions based on the new scheme
Filippos Giannakos [Wed, 29 Aug 2012 12:09:23 +0000 (15:09 +0300)]
rewrite xseg initialize skeleton
also some other minor modifications for the new scheme
Filippos Giannakos [Wed, 29 Aug 2012 10:08:30 +0000 (13:08 +0300)]
move heap, obj outside of xseg and make them xtypes
also added absolute pointer manipulation macros to sys/util.h
Filippos Giannakos [Tue, 28 Aug 2012 12:42:47 +0000 (15:42 +0300)]
Merge branch 'xseg-refactor' of ssh://ray/repos/archip into xseg-refactor
Georgios D. Tsoukalas [Tue, 28 Aug 2012 08:45:32 +0000 (11:45 +0300)]
sketch for CAS/atomic helpers
Filippos Giannakos [Mon, 27 Aug 2012 08:35:31 +0000 (11:35 +0300)]
seperate malloced struct xseg from mmapped segment
Filippos Giannakos [Fri, 10 Aug 2012 13:42:55 +0000 (16:42 +0300)]
fix obj_h in segment initialization
also replace mistyped xseg_put_request with xseg_put_object
in xseg_put_port
Filippos Giannakos [Fri, 10 Aug 2012 13:24:45 +0000 (16:24 +0300)]
work in progress: xseg allocation, xseg ptr free
also added xlock_try_lock functionality
Filippos Giannakos [Thu, 9 Aug 2012 13:07:53 +0000 (16:07 +0300)]
make code compile. no validity checks
lock owners are unimportant for the time being.
kernel lacks xhash support
Filippos Giannakos [Thu, 9 Aug 2012 12:07:57 +0000 (15:07 +0300)]
initial code commit in data structures
* moved xq folder to xtypes
* moved xq_lock.h to xlock.h
* added xhash
* added xpool
* added owner to xlock
* added lock free versions of xq functions
Georgios D. Tsoukalas [Fri, 8 Jun 2012 06:18:12 +0000 (09:18 +0300)]
add explicit non-interactive mode to envsetup
Georgios D. Tsoukalas [Fri, 8 Jun 2012 06:17:26 +0000 (09:17 +0300)]
remove obsolete peer blockd
Georgios D. Tsoukalas [Fri, 8 Jun 2012 06:16:03 +0000 (09:16 +0300)]
add some verbosity to peer driver locating
Georgios D. Tsoukalas [Fri, 8 Jun 2012 06:12:57 +0000 (09:12 +0300)]
enhance helpers, merge with xseg_setup into launch
Stratos Psomadakis [Wed, 6 Jun 2012 12:56:57 +0000 (15:56 +0300)]
util_libs/user: Add clean target in Makefile
Stratos Psomadakis [Wed, 6 Jun 2012 12:37:51 +0000 (15:37 +0300)]
peers/user: Python 1-1 Mapper
Stratos Psomadakis [Wed, 6 Jun 2012 12:37:02 +0000 (15:37 +0300)]
sys/user: Python xseg bindings
Stratos Psomadakis [Wed, 6 Jun 2012 12:36:00 +0000 (15:36 +0300)]
xsegbd: Fix a build error after a failed merge
Stratos Psomadakis [Wed, 6 Jun 2012 12:34:35 +0000 (15:34 +0300)]
xseg: Export xseg_finalize()
Stratos Psomadakis [Wed, 6 Jun 2012 12:33:22 +0000 (15:33 +0300)]
peers/user: Add vlmcd/mapperd in the build system
Stratos Psomadakis [Wed, 6 Jun 2012 12:32:40 +0000 (15:32 +0300)]
peers/user: 1-1 Mapper peer (mapperd)
Stratos Psomadakis [Wed, 6 Jun 2012 12:32:05 +0000 (15:32 +0300)]
peers/user: The Volume Composer (vlmcd)
Stratos Psomadakis [Fri, 25 May 2012 11:44:05 +0000 (14:44 +0300)]
Rename typedef'd None to Noneidx
Rename None to Noneidx to avoid (future) conflicts with xseg python
bindings.
Stratos Psomadakis [Fri, 25 May 2012 10:59:46 +0000 (13:59 +0300)]
xsegbd: stricter error checks
Georgios D. Tsoukalas [Tue, 5 Jun 2012 18:36:16 +0000 (21:36 +0300)]
temporary hack to compile misunderstood code
Georgios D. Tsoukalas [Tue, 5 Jun 2012 18:35:24 +0000 (21:35 +0300)]
purge unused variables
Georgios D. Tsoukalas [Tue, 5 Jun 2012 18:33:15 +0000 (21:33 +0300)]
C99 compliant __VA_ARGS__ handling
Georgios D. Tsoukalas [Tue, 5 Jun 2012 18:30:58 +0000 (21:30 +0300)]
kstrtoul to strict_strtoul for old kernel support
Stratos Psomadakis [Tue, 29 May 2012 14:18:25 +0000 (17:18 +0300)]
peers/xsegbd: Possible NULL ptr deref in release
Stratos Psomadakis [Tue, 29 May 2012 14:16:52 +0000 (17:16 +0300)]
peers: Some changes to xseg-tool submit_reqs/complete cmds
Stratos Psomadakis [Tue, 29 May 2012 14:12:19 +0000 (17:12 +0300)]
doc: Basic commands to test xsegbd/vlmcd/mapperd/filed end-to-end
Stratos Psomadakis [Fri, 25 May 2012 11:02:48 +0000 (14:02 +0300)]
xseg-tool: Add submit_reqs cli option
Stratos Psomadakis [Fri, 25 May 2012 11:02:11 +0000 (14:02 +0300)]
xseg: some 'perfcounters' cleanup/changes, and a possible out-of-range index fix
Stratos Psomadakis [Wed, 16 May 2012 23:04:01 +0000 (02:04 +0300)]
drivers/xseg: Fix signalling for posix peers
* tkill was called with the arguments in reverse order: (signo, tid)
instead of (tid, signo).
* Increase the timeouts for xseg_signal, now that signalling actually
works. We could as well get rid of the timeout completely.
* kernel peers could never signal posix peers, since xseg_posix
driver/module for segdev peers was never built and loaded.
Stratos Psomadakis [Wed, 16 May 2012 23:03:01 +0000 (02:03 +0300)]
tools: Fix some errors after the name to target renames
(Need a lot more fixes to bring the up-to-date with the new code)
Stratos Psomadakis [Wed, 16 May 2012 23:01:44 +0000 (02:01 +0300)]
doc: Start documenting xseg terms and operation
Stratos Psomadakis [Wed, 16 May 2012 23:01:01 +0000 (02:01 +0300)]
xseg: Add some perf counters (request rtt/latency)
Stratos Psomadakis [Wed, 6 Jun 2012 11:50:58 +0000 (14:50 +0300)]
xseg: Rename req->name to req->target in xseg_request
Rename req->name to req->target in struct xseg_request, and change
buffersize/namesize/datasize to bufferlen/targetlen/datalen
accordingly.
Vangelis Koukis [Fri, 11 May 2012 07:48:25 +0000 (10:48 +0300)]
Also clean sosd
Giannakos Filippos [Fri, 16 Dec 2011 19:10:07 +0000 (21:10 +0200)]
zero out rest of data buffer on end of file
Stratos Psomadakis [Wed, 4 Apr 2012 08:24:28 +0000 (11:24 +0300)]
Merge branch 'sosd' into demo
Conflicts:
xseg/peers/Makefile
'Ported' the sosd peer and libsos to the new repo layout and build
system. Also fixed some sosd issues with the recent changes in xseg
API.
Stratos Psomadakis [Tue, 3 Apr 2012 13:49:23 +0000 (16:49 +0300)]
xseg-tool: Add req logging support for bridge mode
Stratos Psomadakis [Tue, 3 Apr 2012 13:04:58 +0000 (16:04 +0300)]
Add resize support in xsegbd/filed-blockd/vlmc-tool
Stratos Psomadakis [Tue, 3 Apr 2012 11:13:42 +0000 (14:13 +0300)]
xsegbd: Make sysfs add/remove more robust
Use a separate spinlock to serialize access on the dev list, instead
of the sysfs/bus mutex, and make sure the device is not removed from
the dev list too early.
The change was 'ported' from Alex Elder's patches for the rbd block
driver.
Stratos Psomadakis [Mon, 2 Apr 2012 10:32:22 +0000 (13:32 +0300)]
extstorage vlmc scripts refactoring
Stratos Psomadakis [Thu, 29 Mar 2012 14:34:59 +0000 (17:34 +0300)]
Initial import of the ganeti extstorage vlmc scripts