]> sourceware.org Git - lvm2.git/log
lvm2.git
13 years agoAdd simple test for read-only table reload suppression
Zdenek Kabelac [Mon, 25 Jul 2011 08:41:52 +0000 (08:41 +0000)]
Add simple test for read-only table reload suppression

Just a small test for previous libdm commit.

13 years agoFix read-only identical table reload supression.
Alasdair Kergon [Sun, 24 Jul 2011 23:59:03 +0000 (23:59 +0000)]
Fix read-only identical table reload supression.

13 years agoCompare also file size to detect changed config file
Zdenek Kabelac [Thu, 21 Jul 2011 13:23:48 +0000 (13:23 +0000)]
Compare also file size to detect changed config file

Clvmd detects modifed config file before it takes lv_lock.
If the config file is changed rapidly - the change was ignored within
a seocnd ranged.  This patch adds also compare of file size.
So change like some flag for 0 to 1 would pass unnoticed - but
it's quick fix for failing test suite.

FIXME: Implement inotify solution.

13 years agolvmetad: Obliterate vg_status by returning the same information from
Petr Rockai [Wed, 20 Jul 2011 21:33:41 +0000 (21:33 +0000)]
lvmetad: Obliterate vg_status by returning the same information from
update_pv_status, saving a dozen lines of code and execution time of one
walkthrough of the PV list.

13 years agolvmetad: Fix a possible infinite loop in vg_status.
Petr Rockai [Wed, 20 Jul 2011 21:27:28 +0000 (21:27 +0000)]
lvmetad: Fix a possible infinite loop in vg_status.

13 years agolvmetad: Robustify update_pv_status and remove an useless lookup.
Petr Rockai [Wed, 20 Jul 2011 21:26:18 +0000 (21:26 +0000)]
lvmetad: Robustify update_pv_status and remove an useless lookup.

13 years agoFirst stab at making lvmetad-core threadsafe. The current design should allow
Petr Rockai [Wed, 20 Jul 2011 21:23:43 +0000 (21:23 +0000)]
First stab at making lvmetad-core threadsafe. The current design should allow
very reasonable amount of parallel access, although the hash tables may become
a point of contention under heavy loads. Nevertheless, there should be orders
of magnitude less contention on the hash table locks than we currently have on
block device scanning.

13 years agolvmetad: Avoid stale PV -> VG mappings on metadata update.
Petr Rockai [Wed, 20 Jul 2011 18:45:32 +0000 (18:45 +0000)]
lvmetad: Avoid stale PV -> VG mappings on metadata update.

13 years agoOptimise PV -> VG lookups by using a UUID (hash) map.
Petr Rockai [Wed, 20 Jul 2011 18:34:57 +0000 (18:34 +0000)]
Optimise PV -> VG lookups by using a UUID (hash) map.

13 years agoFree up allocated memory before exiting, in lvmetad.
Petr Rockai [Wed, 20 Jul 2011 18:24:49 +0000 (18:24 +0000)]
Free up allocated memory before exiting, in lvmetad.

13 years agoFix two small (but eventually unbounded) leaks in daemon-server.c.
Petr Rockai [Wed, 20 Jul 2011 18:23:33 +0000 (18:23 +0000)]
Fix two small (but eventually unbounded) leaks in daemon-server.c.

13 years agoCan't have a global memory pool in lvmetad (that would constitute an ongoing
Petr Rockai [Wed, 20 Jul 2011 16:49:21 +0000 (16:49 +0000)]
Can't have a global memory pool in lvmetad (that would constitute an ongoing
memory leak) => remove it (it's been unused anyway).

13 years agoMake lvmetad also report VGID in reply when adding a PV without MDAs (this
Petr Rockai [Wed, 20 Jul 2011 16:46:40 +0000 (16:46 +0000)]
Make lvmetad also report VGID in reply when adding a PV without MDAs (this
obviously only works for VGs that already had at least some MDA discovered).

13 years agoAdd code to lvmetad's testclient that scans an actual physical device,
Petr Rockai [Wed, 20 Jul 2011 15:15:41 +0000 (15:15 +0000)]
Add code to lvmetad's testclient that scans an actual physical device,
effectively emulating a future "pvscan --lvmetad" command.

13 years agoMake lvmetad report the VG ID and status (complete, partial) in reply to pv_add
Petr Rockai [Wed, 20 Jul 2011 15:14:17 +0000 (15:14 +0000)]
Make lvmetad report the VG ID and status (complete, partial) in reply to pv_add
requests.

13 years agoTowards MISSING (PV) flag management in lvmetad.
Petr Rockai [Tue, 19 Jul 2011 19:15:22 +0000 (19:15 +0000)]
Towards MISSING (PV) flag management in lvmetad.

13 years agoMake it possible to represent type-correct single-item arrays in config trees.
Petr Rockai [Tue, 19 Jul 2011 19:12:38 +0000 (19:12 +0000)]
Make it possible to represent type-correct single-item arrays in config trees.

13 years agoAdd an API to config.h for creating values in the config_tree mempool.
Petr Rockai [Tue, 19 Jul 2011 19:11:24 +0000 (19:11 +0000)]
Add an API to config.h for creating values in the config_tree mempool.

13 years agoWork out some more details in metadata update in lvmetad.
Petr Rockai [Tue, 19 Jul 2011 16:48:13 +0000 (16:48 +0000)]
Work out some more details in metadata update in lvmetad.

13 years agoRemove and unneeded parameter from build_parallel_areas_from_lv()
Jonathan Earl Brassow [Tue, 19 Jul 2011 16:37:42 +0000 (16:37 +0000)]
Remove and unneeded parameter from build_parallel_areas_from_lv()

13 years agoFix potential null ptr deref in 'origin_from_cow'
Jonathan Earl Brassow [Tue, 19 Jul 2011 16:23:52 +0000 (16:23 +0000)]
Fix potential null ptr deref in 'origin_from_cow'

return NULL rather than segfaulting if lv->snapshot is not set

13 years agoMore work on cache maintenance code in lvmetad: keep track of PV status.
Petr Rockai [Tue, 19 Jul 2011 14:13:59 +0000 (14:13 +0000)]
More work on cache maintenance code in lvmetad: keep track of PV status.

13 years agoStart filling in the core LVMetaD functionality and the corresponding
Petr Rockai [Mon, 18 Jul 2011 14:48:30 +0000 (14:48 +0000)]
Start filling in the core LVMetaD functionality and the corresponding
testclient bits.

13 years agoVarious improvements to the daemon-common code, including automated response
Petr Rockai [Mon, 18 Jul 2011 14:46:54 +0000 (14:46 +0000)]
Various improvements to the daemon-common code, including automated response
formatting from config trees provided by the daemon implementation.

13 years agoImprove format_buffer in daemon-shared.c, adding block formatting in addition
Petr Rockai [Mon, 18 Jul 2011 14:42:44 +0000 (14:42 +0000)]
Improve format_buffer in daemon-shared.c, adding block formatting in addition
to string/integer (this propagates to the *simple* family of request/response
functionality).

13 years agoRevert the #include changes. Need to fix this at the #include site for now, and
Petr Rockai [Mon, 18 Jul 2011 14:34:33 +0000 (14:34 +0000)]
Revert the #include changes. Need to fix this at the #include site for now, and
eventually refactor the way we structure #includes in the all of the library.

13 years agoSlightly refactor the config code to allow better reuse (no functional change).
Petr Rockai [Mon, 18 Jul 2011 13:26:08 +0000 (13:26 +0000)]
Slightly refactor the config code to allow better reuse (no functional change).

13 years agoAdd a missing libdevmapper.h #include to lvm-types.h (for dm_list).
Petr Rockai [Mon, 18 Jul 2011 13:24:48 +0000 (13:24 +0000)]
Add a missing libdevmapper.h #include to lvm-types.h (for dm_list).

13 years agoAdd a couple missing #includes in uuid.h.
Petr Rockai [Mon, 18 Jul 2011 13:24:14 +0000 (13:24 +0000)]
Add a couple missing #includes in uuid.h.

13 years agoBetter version of failing 'should' test
Zdenek Kabelac [Mon, 18 Jul 2011 12:12:41 +0000 (12:12 +0000)]
Better version of failing 'should' test

where the naming is left completely on lvm.
(Commited code has been different version of test).
So here it should be able to figure out new free name and create a new LV.

13 years agoAdding test for repair when confusing metadata are found
Zdenek Kabelac [Mon, 18 Jul 2011 12:04:42 +0000 (12:04 +0000)]
Adding test for repair when confusing metadata are found

13 years agoLVM2 RAID design doc
Jonathan Earl Brassow [Thu, 14 Jul 2011 17:00:59 +0000 (17:00 +0000)]
LVM2 RAID design doc

13 years agoFix t-vgreduce-usage to stop relying on the persistent cache not seeing a
Petr Rockai [Mon, 11 Jul 2011 12:13:07 +0000 (12:13 +0000)]
Fix t-vgreduce-usage to stop relying on the persistent cache not seeing a
device that has been brought back from the dead: this sometimes fails with
clvmd (the cache is updated "too soon"). Instead, force a pvscan and rely on an
up-to-date cache as usual.

13 years agopost-release
Alasdair Kergon [Fri, 8 Jul 2011 19:57:32 +0000 (19:57 +0000)]
post-release

13 years agoremove unnecessary lvconvert.h
Alasdair Kergon [Fri, 8 Jul 2011 19:42:11 +0000 (19:42 +0000)]
remove unnecessary lvconvert.h

13 years agopre-release
Alasdair Kergon [Fri, 8 Jul 2011 19:19:44 +0000 (19:19 +0000)]
pre-release

13 years agoDowngrade error message - it isn't strictly an internal error in the
Alasdair Kergon [Fri, 8 Jul 2011 19:13:05 +0000 (19:13 +0000)]
Downgrade error message - it isn't strictly an internal error in the
library, and the known cause within lvm2 got fixed.

13 years agomove doc to doc dir
Alasdair Kergon [Fri, 8 Jul 2011 18:55:28 +0000 (18:55 +0000)]
move doc to doc dir

13 years agomissing ifdef when new fn unused
Alasdair Kergon [Fri, 8 Jul 2011 17:31:06 +0000 (17:31 +0000)]
missing ifdef when new fn unused

13 years ago Remove dev name prefix from dmsetup line output if exactly one dev requested.
Alasdair Kergon [Fri, 8 Jul 2011 17:08:19 +0000 (17:08 +0000)]
 Remove dev name prefix from dmsetup line output if exactly one dev requested.

13 years agoIgnore activation/verify_udev_operations if dm kernel driver vsn < 4.18.
Alasdair Kergon [Fri, 8 Jul 2011 16:49:04 +0000 (16:49 +0000)]
Ignore activation/verify_udev_operations if dm kernel driver vsn < 4.18.

13 years agoFix warning for pvcreate over MD linear.
Milan Broz [Fri, 8 Jul 2011 15:53:59 +0000 (15:53 +0000)]
Fix warning for pvcreate over MD linear.

If MD linear device has set rounding (overload chunk size attribute),
the pvcreate command prints this warning:

  /dev/md0 sysfs attr level not in expected format: linear

13 years agoNeed to snapshot lookup by uuid instead of name in case it's renamed.
Alasdair Kergon [Fri, 8 Jul 2011 15:35:50 +0000 (15:35 +0000)]
Need to snapshot lookup by uuid instead of name in case it's renamed.

13 years agoLog cookie values when incrementing/decrementing to give clues about races.
Alasdair Kergon [Fri, 8 Jul 2011 15:34:47 +0000 (15:34 +0000)]
Log cookie values when incrementing/decrementing to give clues about races.

13 years agoMove snapshot removal activation logic into lib/activate.
Alasdair Kergon [Fri, 8 Jul 2011 12:49:50 +0000 (12:49 +0000)]
Move snapshot removal activation logic into lib/activate.

13 years agoMove snapshot deactivation logic into lib/activate, fixing the
Alasdair Kergon [Fri, 8 Jul 2011 12:48:41 +0000 (12:48 +0000)]
Move snapshot deactivation logic into lib/activate, fixing the
teardown sequence.  (Previously the snapshot was deactivated while its
origin was active and before its removal was committed to disk, so
restarting after a crash at the point would leave corruption.)

13 years agoreport which dev was not found
Alasdair Kergon [Fri, 8 Jul 2011 12:35:48 +0000 (12:35 +0000)]
report which dev was not found

13 years agoIncrease timeout for udev settle
Zdenek Kabelac [Fri, 8 Jul 2011 10:05:43 +0000 (10:05 +0000)]
Increase timeout for udev settle

For some unknown reason (atm) udev settle takes longer time on recent rawhide.
To pass the test - inrease the settle timeout.

13 years agoCope with a PV only discovered missing when creating deptree.
Alasdair Kergon [Wed, 6 Jul 2011 00:29:44 +0000 (00:29 +0000)]
Cope with a PV only discovered missing when creating deptree.

13 years agoAbort operation if dm_tree_node_add_target_area fails.
Alasdair Kergon [Tue, 5 Jul 2011 23:10:14 +0000 (23:10 +0000)]
Abort operation if dm_tree_node_add_target_area fails.

13 years agoAlways perform preload logic before suspending - not only in the case when we
Alasdair Kergon [Tue, 5 Jul 2011 18:36:37 +0000 (18:36 +0000)]
Always perform preload logic before suspending - not only in the case when we
have precommitted metadata.  (Necessary to avoid loading tables
while suspend in lvchange --refresh.)

13 years agodecode cookie flags in debug msgs
Alasdair Kergon [Tue, 5 Jul 2011 16:17:14 +0000 (16:17 +0000)]
decode cookie flags in debug msgs

13 years agoSnapshots LVs are never loaded in their own right, only along with their
Alasdair Kergon [Tue, 5 Jul 2011 01:08:42 +0000 (01:08 +0000)]
Snapshots LVs are never loaded in their own right, only along with their
origin.

13 years agoFix conditions using no_merging: only those using lv_is_merging_cow() should
Alasdair Kergon [Tue, 5 Jul 2011 01:01:19 +0000 (01:01 +0000)]
Fix conditions using no_merging: only those using lv_is_merging_cow() should
have been converted, not pure lv_is_cow ones.
(Merging has no impact on how the pre-merged cow segment itself is loaded.)

13 years agofirst attempt to fix test
Alasdair Kergon [Mon, 4 Jul 2011 16:27:27 +0000 (16:27 +0000)]
first attempt to fix test

13 years agoreinstate accidentally-removed lines to fix pvmove again
Alasdair Kergon [Mon, 4 Jul 2011 14:56:58 +0000 (14:56 +0000)]
reinstate accidentally-removed lines to fix pvmove again

13 years agoReport internal error if suspending a device using an already-suspended dev.
Alasdair Kergon [Sat, 2 Jul 2011 01:17:09 +0000 (01:17 +0000)]
Report internal error if suspending a device using an already-suspended dev.
This catches the recent pvmove problem trapping I/O between layers.

13 years agoRAID updates for gdbinit file
Jonathan Earl Brassow [Fri, 1 Jul 2011 16:15:25 +0000 (16:15 +0000)]
RAID updates for gdbinit file

13 years agoAdd framework for validation of ioctls. Doesn't do any checks yet.
Alasdair Kergon [Fri, 1 Jul 2011 14:09:19 +0000 (14:09 +0000)]
Add framework for validation of ioctls.  Doesn't do any checks yet.
dmsetup --checks
libdevmapper: dm_task_enable_checks()
lvm.conf: activation/checks=1

13 years agoupdate pv_attr check for new missing attr
Alasdair Kergon [Thu, 30 Jun 2011 19:32:51 +0000 (19:32 +0000)]
update pv_attr check for new missing attr

13 years agoWhen suspending, automatically preload newly-visible existing LVs
Alasdair Kergon [Thu, 30 Jun 2011 18:25:18 +0000 (18:25 +0000)]
When suspending, automatically preload newly-visible existing LVs
Let's find out if this makes things better or worse overall...

13 years agoReport internal error when parameters are missing on table load
Zdenek Kabelac [Thu, 30 Jun 2011 09:24:58 +0000 (09:24 +0000)]
Report internal error when parameters are missing on table load

When some target is passing empty parameters to some dm target,
report this as an internal error to better catch some broken
table construction (some mirror conversions seem to be doing
this for now).

13 years agouse remove -f
Alasdair Kergon [Thu, 30 Jun 2011 09:17:49 +0000 (09:17 +0000)]
use remove -f

13 years agoteardown stray filesystems too
Alasdair Kergon [Thu, 30 Jun 2011 09:15:53 +0000 (09:15 +0000)]
teardown stray filesystems too

13 years agoUse -f to remove device
Zdenek Kabelac [Thu, 30 Jun 2011 09:08:22 +0000 (09:08 +0000)]
Use -f to remove device

Since some test may leave devices in suspend mode which would require
carefull order of resume operation - use '-f' to replace them with
error targets

For disable_dev  - when  'error' target is used for open count - treat
return code as ok (|| true) to avoid breaking futher test processing.

13 years agoTry to force remove dm devices in after test fails.
Milan Broz [Thu, 30 Jun 2011 08:50:10 +0000 (08:50 +0000)]
Try to force remove dm devices in after test fails.

13 years agoTry to remove any stray loop devices left behind by earlier aborted tests.
Alasdair Kergon [Thu, 30 Jun 2011 01:17:37 +0000 (01:17 +0000)]
Try to remove any stray loop devices left behind by earlier aborted tests.

13 years agotest attempt to remove stray loop devs
Alasdair Kergon [Thu, 30 Jun 2011 00:57:29 +0000 (00:57 +0000)]
test attempt to remove stray loop devs

13 years agoDifferentiate the request and response format, in daemon/common.
Petr Rockai [Wed, 29 Jun 2011 22:20:14 +0000 (22:20 +0000)]
Differentiate the request and response format, in daemon/common.

13 years agoAdd age filter to dmsetup udevcomplete_all to minimise concurrency problems.
Alasdair Kergon [Wed, 29 Jun 2011 21:56:46 +0000 (21:56 +0000)]
Add age filter to dmsetup udevcomplete_all to minimise concurrency problems.

13 years agomake udev teardown conditional on using udev
Alasdair Kergon [Wed, 29 Jun 2011 18:18:18 +0000 (18:18 +0000)]
make udev teardown conditional on using udev

13 years agoteardown aborts if it hits an error, so better teardown semaphores earlier
Alasdair Kergon [Wed, 29 Jun 2011 18:14:08 +0000 (18:14 +0000)]
teardown aborts if it hits an error, so better teardown semaphores earlier
as we need them later in the teardown process

13 years agoprint any loop devs that weren't torn down
Alasdair Kergon [Wed, 29 Jun 2011 17:37:30 +0000 (17:37 +0000)]
print any loop devs that weren't torn down

13 years agoremove any stray semaphores after tearing down devs
Alasdair Kergon [Wed, 29 Jun 2011 17:33:39 +0000 (17:33 +0000)]
remove any stray semaphores after tearing down devs

13 years agoReinstate correct permissions when creating mirrors.
Alasdair Kergon [Wed, 29 Jun 2011 17:05:53 +0000 (17:05 +0000)]
Reinstate correct permissions when creating mirrors.

13 years agodebug log readonly flag with ioctls
Alasdair Kergon [Wed, 29 Jun 2011 16:08:33 +0000 (16:08 +0000)]
debug log readonly flag with ioctls

13 years agoAppend 'm' attribute to pv_attr for missing PVs.
Alasdair Kergon [Wed, 29 Jun 2011 14:56:33 +0000 (14:56 +0000)]
Append 'm' attribute to pv_attr for missing PVs.

13 years agoAdd uuids to dmsetup create cmds.
Alasdair Kergon [Wed, 29 Jun 2011 12:37:51 +0000 (12:37 +0000)]
Add uuids to dmsetup create cmds.

13 years agouse dmsetup remove -f as a better way of simulating a device "disappearing"
Alasdair Kergon [Wed, 29 Jun 2011 12:33:18 +0000 (12:33 +0000)]
use dmsetup remove -f as a better way of simulating a device "disappearing"

13 years agoRemove temporary failures now, but continue to give INTERNAL_ERROR.
Alasdair Kergon [Wed, 29 Jun 2011 11:36:37 +0000 (11:36 +0000)]
Remove temporary failures now, but continue to give INTERNAL_ERROR.

13 years agoTemporary conversion to internal error and failure, to see how many
Alasdair Kergon [Wed, 29 Jun 2011 08:54:13 +0000 (08:54 +0000)]
Temporary conversion to internal error and failure, to see how many
instances of this problem this flushes out.

13 years agoFix error message - the parameter name is '--mirrorlog' not '--log'
Jonathan Earl Brassow [Wed, 29 Jun 2011 02:06:26 +0000 (02:06 +0000)]
Fix error message - the parameter name is '--mirrorlog' not '--log'

13 years agoRemove unnecesary conditional.
Jonathan Earl Brassow [Tue, 28 Jun 2011 21:28:35 +0000 (21:28 +0000)]
Remove unnecesary conditional.

The conditional is not just unnecessary, it would have been wrong.  The code
is suppose to be checking if the 'splitmirrors_ARG' is negative, but it
instead is checking 'mirrors_ARG'.  Rather than changing the argument being
checked, I've pulled the check entirely because 'splitmirrors_ARG' is already
guarenteed to not be negative by virtue of the fact that it is a 'int_arg'.
Negative values will be caught in _process_command_line().

13 years agoAnnotate CLVMD_CMD_SYNC_NAMES in decode_cmd
Zdenek Kabelac [Tue, 28 Jun 2011 13:42:15 +0000 (13:42 +0000)]
Annotate CLVMD_CMD_SYNC_NAMES in decode_cmd

13 years agoMore readahead tests.
Alasdair Kergon [Tue, 28 Jun 2011 09:43:28 +0000 (09:43 +0000)]
More readahead tests.

13 years agomore fixes to readahead etc.
Alasdair Kergon [Tue, 28 Jun 2011 09:24:13 +0000 (09:24 +0000)]
more fixes to readahead etc.

13 years agoChange to still sync with udev (to test waiting for rules) then to verify udev
Alasdair Kergon [Tue, 28 Jun 2011 00:38:26 +0000 (00:38 +0000)]
Change to still sync with udev (to test waiting for rules) then to verify udev
operations like it used to (which will perform them on systems with
non-std dev dirs where test udev rules aren't installed).

13 years agoRemove enforcement of udev verification when using non-standard /dev location.
Alasdair Kergon [Tue, 28 Jun 2011 00:23:06 +0000 (00:23 +0000)]
Remove enforcement of udev verification when using non-standard /dev location.
If you change the dev dir, it's your responsibility to adjust udev rules
or tell lvm not to use udev too.

13 years agoSelectively enable/disable udev rules.
Alasdair Kergon [Tue, 28 Jun 2011 00:11:46 +0000 (00:11 +0000)]
Selectively enable/disable udev rules.

13 years agoMove _set_lvm_fallback into toolcontext, fix string comparison (/devtest
Alasdair Kergon [Mon, 27 Jun 2011 23:43:04 +0000 (23:43 +0000)]
Move _set_lvm_fallback into toolcontext, fix string comparison (/devtest
matched /dev) and note that function should go anyway as it can be
overriding a valid config.

13 years agoExtend debug log messages to distinguish between the 3 states:
Alasdair Kergon [Mon, 27 Jun 2011 22:38:53 +0000 (22:38 +0000)]
Extend debug log messages to distinguish between the 3 states:
trust udev; verify udev; perform dev node operations directly.

13 years agoMove udev_only logic inside stacked node op code.
Alasdair Kergon [Mon, 27 Jun 2011 21:43:58 +0000 (21:43 +0000)]
Move udev_only logic inside stacked node op code.
(We still need to treat add+readhead+del as a no-op.)
Rename udev_fallback to verify_udev_operations.
Rename --udevfallback to --verifyudev

13 years agoAdd int/str lookup routines specific to the reply (in client) and request (in
Petr Rockai [Mon, 27 Jun 2011 14:03:58 +0000 (14:03 +0000)]
Add int/str lookup routines specific to the reply (in client) and request (in
server) for nicer-looking code (thin wrapping around find_config_{int,str}).

13 years agoAlso parse the config_tree on the client end (daemon-client.c).
Petr Rockai [Mon, 27 Jun 2011 13:58:11 +0000 (13:58 +0000)]
Also parse the config_tree on the client end (daemon-client.c).

13 years agoParse the incoming config tree in daemon-server.c, providing the
Petr Rockai [Mon, 27 Jun 2011 13:46:45 +0000 (13:46 +0000)]
Parse the incoming config tree in daemon-server.c, providing the
daemon-specific handler with a struct config_tree pointer to look things up in.

13 years agoLVMetaD build hack: link to lvm-internal &c. and add a simple test script.
Petr Rockai [Mon, 27 Jun 2011 13:44:33 +0000 (13:44 +0000)]
LVMetaD build hack: link to lvm-internal &c. and add a simple test script.

13 years agoImplement daemon_send_simple and use it in the testclient.
Petr Rockai [Mon, 27 Jun 2011 13:15:49 +0000 (13:15 +0000)]
Implement daemon_send_simple and use it in the testclient.

13 years agoDo not open the socket with SOCK_NONBLOCK in daemon-client, since we have no
Petr Rockai [Mon, 27 Jun 2011 13:14:53 +0000 (13:14 +0000)]
Do not open the socket with SOCK_NONBLOCK in daemon-client, since we have no
use for that behaviour (at least for now).

13 years agoCall daemon_close before exit in the testclient.
Petr Rockai [Mon, 27 Jun 2011 12:27:34 +0000 (12:27 +0000)]
Call daemon_close before exit in the testclient.

13 years agoSketch out the actual on-wire format in daemon-client.h documentation, and add
Petr Rockai [Mon, 27 Jun 2011 12:26:54 +0000 (12:26 +0000)]
Sketch out the actual on-wire format in daemon-client.h documentation, and add
a simplified send interface.

This page took 0.061799 seconds and 5 git commands to generate.