Statistics
| Branch: | Revision:

root / xseg @ b3a5a8ba

# Date Author Comment
b3a5a8ba 02/19/2012 05:05 pm Stratos Psomadakis

Fixes for the vlmc-tool * Change the parsing to be compatible with ganeti rbd calls * Force python2.7 (needed by subprocess module)

abea4350 02/19/2012 05:04 pm Stratos Psomadakis

More fixes for helper scripts

88a8e86b 02/17/2012 09:35 pm Stratos Psomadakis

Correct the tests for unset config variables

3c705bc9 02/17/2012 05:42 pm Stratos Psomadakis

Helper scripts to setup and test xsge components

99760219 02/17/2012 05:41 pm Stratos Psomadakis

Initial commit for the (blockd-specific) vlmc tool

ce164530 02/17/2012 12:17 am Stratos Psomadakis

Fix a bug in device id assignment

a67d23d8 01/11/2012 10:18 am Stratos Psomadakis

xsegbd: Add name in sysfs device attrs

a57bb1ca 01/08/2012 08:40 pm Stratos Psomadakis

Minor fix in request_fn

fc7ce354 01/08/2012 08:35 pm Stratos Psomadakis

Correct string handling for target names

7b3bbbbb 01/08/2012 07:11 pm Stratos Psomadakis

Initial support for target names

blockd will now only accept requests based on the target name (ie only for the
file it has opened), and will return an XS_ERROR reqeust otherwise.

xsegbd will now take a target name as an argument when adding a device via...

02a0ffa8 01/08/2012 06:51 pm Stratos Psomadakis

xsegbd: Release and error code paths fixes

Fix issues with the release / exit and error handling code paths.

e85c37b3 01/08/2012 05:40 pm Stratos Psomadakis

xq: Fix iteration bug in xq_head_to_tail()

Since __xq_pop_head() decrements head to point to the (new) first
available item in the queue, xq_head_to_tail() should iterate headq
forward (by incrementing head), not backwards. Backward iteration
results in xq corruption, which can easily be triggered using...

db92806c 01/05/2012 01:15 am Georgios Tsoukalas

fix xseg_signal() posix retval and warning

99bc95ab 01/04/2012 09:18 pm Georgios Tsoukalas

Merge wip-sysfs into xseg, with amendments

Conflicts:
xseg/sys/xsegbd.c

Amendments:
struct completion is now per-request, not per-device.
The xsegbd callback (heuristically) knows when
xreq->priv is an index of an I/O request or a pointer
to a completion struct, and branches out accordingly....

501c7179 01/04/2012 03:56 pm Stratos Psomadakis

Replace busy-wait loop in get_size with completion

92fb5b61 01/04/2012 02:43 pm Georgios Tsoukalas

Merge branch 'wip-sysfs' into xseg

Conflicts:
xseg/sys/xsegbd.c

There is printk-logging leading up to a lock-up
in get_size(). This is currently broken.

85b37014 01/04/2012 11:53 am Georgios Tsoukalas

make some field types arch-neutral

128bbc1e 01/04/2012 12:56 am Georgios Tsoukalas

Merge branch 'wip-xinfo-fixed' into xseg

Conflicts:
xseg/sys/xsegbd.c [trivial]

6082066c 01/03/2012 09:35 pm Stratos Psomadakis

Simplify callback req demultiplexing (temp).

Until prepare_wait() is fixed to support an extra
argument, we can manually assign port.waitcue to the address of the
appropriate xsegbd_device struct before submitting the request,
simplifiying the callback request demultiplexing (don't iterate...

0f25b072 01/03/2012 05:44 pm Stratos Psomadakis

xsegbd: add multiple 'disk' support via sysfs.

Add initial (not tested/buggy) multiple disk support to xsegbd via a
sysfs interface similar to rbd.

56476ce6 12/23/2011 02:35 pm Giannakos Filippos

add support for larger than 1 segment requests + xseg_signaling.

51048a04 12/22/2011 11:24 pm Stratos Psomadakis

xsegbd: Don't destroy the segment, if it exists.

dfebbcff 12/22/2011 11:13 pm Stratos Psomadakis

Allow disksize override with sector_size parameter.

Allow a non-zero sector_size module parameter to override the disk
size returned by xsegbd_get_size()

1f74862f 12/22/2011 11:07 pm Stratos Psomadakis

Minor fixes in xsegbd_get_size().

Remove the useless prep_wait() and cancel_wait() calls in xsegbd_get_size() and
add some comments to document its behavior.

a84c18a7 12/22/2011 10:54 pm Stratos Psomadakis

Move segment unmap() in xsegbd module.

We cannot unmap a segment in xseg_destroy(), since the segment may not
be mapped. Since it currently only affects xsegbd, move it in
xsegbd_xseg_quit(), inside the xsegbd module.

8da761af 12/22/2011 10:47 pm Stratos Psomadakis

Refactor cmd_info() code in xseg-tool.

Refactor cmd_info code in xseg-tool. Use cmd_wait to get the response.

aa21fc67 12/22/2011 04:35 pm Stratos Psomadakis

Make xsegbd query peer for disk size(using X_INFO)

xsegbd will now send an X_INFO request to learn the size of the disk it's
mapping, instead of using the sector_size parameter at module load time.

Currently, xsegbd allocates its own segment, and thus it must wait until blockd...

5640feb6 12/22/2011 04:29 pm Stratos Psomadakis

Make sure to unmap the segment in xseg_destroy()

Add xops->unmap() in xseg_destroy(). If you don't unmap the segment before
calling xops->deallocate(), xsegdev->callback and xsegdev->callarg are not set
to NULL when rmmoding xsegbd, and lead to an error (or kernel panic) when trying...

30916a2e 12/21/2011 10:27 pm Stratos Psomadakis

Add (initial) support for X_INFO request operation

Add support for X_INFO request operation, to query information about a
target (X_INFO op support implemented in xseg-tool). Initial blockd
implementation 'returns' only the size of the target / file.

f7a50956 12/16/2011 05:25 pm Giannakos Filippos

make blockd loop over pending ios.

f9814931 12/16/2011 05:24 pm Giannakos Filippos

remove close with negative file descriptor

9cb9d2b7 12/16/2011 12:41 pm Giannakos Filippos

initialize lock in xq initialization.

11fb962b 12/16/2011 12:37 pm Giannakos Filippos

remove obsolete XSEG_{FLUSH,FUA}.

edeafa27 12/13/2011 05:40 pm Giannakos Filippos

fix buffer handling on incomplete/resubmitted reqs

73979b67 12/13/2011 05:28 pm Giannakos Filippos

fix log_io printing beyond end-of-string garbage

ab830f50 12/13/2011 05:19 pm Georgios D. Tsoukalas

Add pthread to linked libraries

b0a46d91 12/13/2011 05:12 pm Georgios D. Tsoukalas

relax shared segment access precautions

The shared array of peer type names is by design
append only, therefore no locking or copying strings
is needed to access it (only pointer conversions).
Append-only means that peer type names cannot be unregistered....

e005b6d7 12/13/2011 04:51 pm Giannakos Filippos

fix invalid shared pointer access and wrong retval

also, lock and copy string from shared segment,
as a precaution.

6d486cc0 12/13/2011 11:47 am Georgios D. Tsoukalas

initialization from my own repository