1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/daemons/cmirrord
Liuhua Wang 829e5a4037 cmirror: fix endian issues on s390
Cmirrord has endian bugs, which cause failure to lvcreate a mirrored lv
on s390.
- data_size is uint32, should not use xlate64 to convert, which will
  cause data_size 0 after xlate.
- request_type and data_size still used by local(v5_data_switch),
  should convert later.  If request_type xlate too early, it will
  cause request_type judge error; if data_size xlate too early, it
  will cause coredump in case DM_ULOG_CLEAR_REGION.
- when receiving package in clog_request_from_network. vp[0] will always
  be little endian.  We could use xlate64(vp[0]) == vp[0] to decide if
  the local node is little endian or not.

Signed-off-by: Lidong Zhong<lzhong@suse.com> & Liuhua Wang <lwang@suse.com>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
2014-09-15 16:08:35 -05:00
..
clogd.c clogd: fix descriptor leak when daemonzing 2013-08-06 16:21:51 +02:00
cluster.c cmirrord: Clean-up stray warning message (attempt #2) 2014-03-19 14:43:00 -05:00
cluster.h Deal with a few more compiler warnings. 2010-01-20 02:43:19 +00:00
common.h Clean up include files. 2010-01-18 21:07:24 +00:00
compat.c cmirror: fix endian issues on s390 2014-09-15 16:08:35 -05:00
compat.h Clean up include files. 2010-01-18 21:07:24 +00:00
functions.c cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
functions.h Clean up include files. 2010-01-18 21:07:24 +00:00
link_mon.c Remove some whitespaces. 2012-03-10 09:32:46 +00:00
link_mon.h Clean up include files. 2010-01-18 21:07:24 +00:00
local.c cmirrord: add missing checks for kernel_send 2012-06-20 14:48:26 +02:00
local.h Clean up include files. 2010-01-18 21:07:24 +00:00
logging.c Clean up include files. 2010-01-18 21:07:24 +00:00
logging.h Misc: Get rid of some compiler warnings. 2014-01-07 19:37:07 -06:00
Makefile.in compile/link: use RELRO/PIE compiler/linker options for executables 2013-12-05 14:03:10 +01:00