fixed passing bdev read only flag to blktap2 kernel module
CA-88376: Reset the nbd_mirror_failed flag when disabling mirroring

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
CA-86426: fix a tap-ctl race.

It is possible for a new control connection to be accepted, but before anything is
received on it, for a "detach" message to come in and cause the tapdisk server to
exit. On cleanup, the new, unprocessed connection causes this:
tap-err:tapdisk_ctl_conn_drain: tapdisk-control.c:273: FAILED ASSERTION: 'conn->out.done'

We now simply drop any such connections.
Merge pull request #19 from jonludlam/CA-88376

CA-88376: Reset the nbd_mirror_failed flag when disabling mirroring
Merge pull request #18 from tmakatos/CA-85680

CA-85680: fixed passing bdev read only flag to blktap2 kernel module
CA-90801: add option to skip block overlap check

Checking for block overlap is O(n^2) in the number of VHD blocks and can take
minutes for very large VHDs, which cannot be afforded during leaf-coalesce
while the tapdisk is paused.
Merge pull request #20 from andreil/master

CA-90801
Fix the "does break strict-aliasing rules" warning

This warning breaks the standalone compilation because of -Werror.
XOP-289: use UTC for VHD timestamps

Currently, the local timezone is factored into VHD timestamps due to the use of
mktime(). This breaks "vhd-util check" for VHDs created in one timezone and
then moved westward, which results in "primary footer invalid: creation time in
future" errors.
CA-98950: fix coalescing with small ancestors.

When the virtual size of the coalesce target's ancestors (grandparent & above,
since the parent's size must match the target's) is smaller (due to a resize),
vhd-util coalesce might incorrectly error out with ERANGE when reading a
sector(s) in a partial block beyond the smaller ancestor's size.
Merge pull request #23 from andreil/ca98950

CA-98950: fix coalescing in the presence of smaller ancestors
Remove unused variable
Merge pull request #22 from andreil/xop289

Use UTC for VHD timestamps
CA-94713: parametrize request timeout
CA-100733: update tapdisk log when it matters.

Currently, tapdisk only writes its log file out once to avoid filling up the
filesystem with an arbitrarily big log in the case of persisting IO errors.
However, this makes it harder to see what actually/eventually happened, since
usually the 10-second watchdog causes the first and only write of the log
file, while the interesting information would be logged later. Rectify this
situation by forcing the log file updates when it's triggered by the USR1
signal handler as well as for fatal cases, since these events will not happen
continuously and will not cause the log to grow too large.
Merge pull request #27 from andreil/master

Merge CA-94713 & CA-100733
CA-102187: log maximum number of libaio events reached
 message
Merge pull request #34 from tmakatos/CA-102187

CA-102187: log maximum number of libaio events reached
CP-4726: Add the LGPLv2.1 LICENSE file.
Merge pull request #37 from tmakatos/CP-4726

CP-4726: Add the LGPLv2.1 LICENSE file.