[sheepdog] [sheepdog/sheepdog] 7d4ca2: Fix bash-completion error

Takashi Menjo takashi.menjo+github at gmail.com
Tue Jul 19 10:13:25 CEST 2016


  Branch: refs/heads/stable-0.9
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 7d4ca2d1257606a282848d8b8e097035aa74d8ea
      https://github.com/sheepdog/sheepdog/commit/7d4ca2d1257606a282848d8b8e097035aa74d8ea
  Author: YAMADA Hideki <yamada.hideki at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    R debian/sheepdog.bash-completion

  Log Message:
  -----------
  Fix bash-completion error

When you install sheepdog via deb package, you will find following error.
This patch delete a unnecessary file.

$ ssh -A ubuntu at 10.36.2.55
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.16.0-51-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
Last login: Fri Oct 23 15:30:02 2015 from dhcpfe82.osrg.net
-bash: script/bash_completion_dog: No such file or directory
-bash: script/bash_completion_dog: No such file or directory
-bash: script/bash_completion_dog: No such file or directory
-bash: script/bash_completion_dog: No such file or directory

Signed-off-by: YAMADA Hideki <yamada.hideki at gmail.com>
(cherry picked from commit 93a6a4a79c4034e1b5a2fa161048f2863df1860d)


  Commit: 154372ee2950d3932914521bc1ffa993d9c58ab7
      https://github.com/sheepdog/sheepdog/commit/154372ee2950d3932914521bc1ffa993d9c58ab7
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M include/util.h

  Log Message:
  -----------
  util: fix bug for sd_cond_wait_timeout()

The timeout parameter of pthread_cond_timedwait() is
the absolutely time. So fix it.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>
(cherry picked from commit 3744ee4ad450ea89223d085821b7f505dc9fd2d9)


  Commit: e249c57ee1f7b4790dfb857218bd9db12fff0e4c
      https://github.com/sheepdog/sheepdog/commit/e249c57ee1f7b4790dfb857218bd9db12fff0e4c
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M lib/util.c

  Log Message:
  -----------
  lib/util: fix bug for return value check of readlink()

On error, -1 is returned and errno is set to indicate the error.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>
(cherry picked from commit 418ff5e5fbbe349803742ae6ac35191d92d2c5f6)


  Commit: f4798d225f3d071bee393c5ce123e0262fdb770d
      https://github.com/sheepdog/sheepdog/commit/f4798d225f3d071bee393c5ce123e0262fdb770d
  Author: Vasiliy Tolstov <v.tolstov at selfip.ru>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M dog/vdi.c

  Log Message:
  -----------
  fixe incorrect man and help for vdi backup/restore

fixes #89

Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>
(cherry picked from commit 3e129212d9ea0e60eba3baa775580ee23baade68)


  Commit: 9916b0aa4ebc568706e5d64e2469b6b4e96fc84c
      https://github.com/sheepdog/sheepdog/commit/9916b0aa4ebc568706e5d64e2469b6b4e96fc84c
  Author: Takashi Menjo <takashi.menjo+github at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/store/md.c

  Log Message:
  -----------
  md: go down when no object store becomes available or plugged

After the last object store removed or unplugged from a sheep,
it still runs as a member of cluster with no object store.
In such cases, it should go down i.e. leave cluster and die.

This closes sheepdog/sheepdog#214.

Signed-off-by: YAMADA Hideki <yamada.hideki at gmail.com>
Signed-off-by: Takashi Menjo <takashi.menjo+github at gmail.com>
(cherry picked from commit fe5d3ba71bbcfb8e0aedc0b6d261db1a4daa0043)


  Commit: 4909978de2b998f32fe2a3b5bfed96d87f74fbcc
      https://github.com/sheepdog/sheepdog/commit/4909978de2b998f32fe2a3b5bfed96d87f74fbcc
  Author: Ziye Yang <ziye.yang at intel.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/store/common.c

  Log Message:
  -----------
  Sheep: Update the typo

This patch is used to update the typo in sheep/store/common.c

Signed-off-by: Ziye Yang <ziye.yang at intel.com>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
(cherry picked from commit 9ab50f383fe5babee64b33a374fb43c000a13b19)


  Commit: 839b879a0bf28df1dc1b39dfd6f3e94e7501087d
      https://github.com/sheepdog/sheepdog/commit/839b879a0bf28df1dc1b39dfd6f3e94e7501087d
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/store/common.c

  Log Message:
  -----------
  sheep: turn on O_DIRECT just for data objects

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
(cherry picked from commit 25328a72fb3c3c5fe91d67690b3546cdf0ea6a0f)


  Commit: 2c039bc0d124a5532437b373dbead0856193fc8c
      https://github.com/sheepdog/sheepdog/commit/2c039bc0d124a5532437b373dbead0856193fc8c
  Author: Vasiliy Tolstov <v.tolstov at selfip.ru>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/sheep.c

  Log Message:
  -----------
  fix myaddr option man and help

fixes #76

Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>
(cherry picked from commit ce7b4a79106a6775a6e015d50a13889bf59d9b97)


  Commit: 6d9e0ef834685e1fcb83069733b4b3685b2d447d
      https://github.com/sheepdog/sheepdog/commit/6d9e0ef834685e1fcb83069733b4b3685b2d447d
  Author: Vasiliy Tolstov <v.tolstov at selfip.ru>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/sheep.c
    M sheep/sheep_priv.h

  Log Message:
  -----------
  cleanup messages about missing features

Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>
(cherry picked from commit 00965c17b3f9fbfe4526660bcef34b04943ace9d)


  Commit: a9820ea05307b22d007d1ad06e6830f71dc11024
      https://github.com/sheepdog/sheepdog/commit/a9820ea05307b22d007d1ad06e6830f71dc11024
  Author: Takashi Menjo <takashi.menjo+github at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/sheep.c

  Log Message:
  -----------
  sheep: fix 'http_options' warning when building

Without --enable-http configure option, we still get
-Wunused-but-set-variable warning message on 'http_options'
in the main function of sheep.

This not only fixes the warning, but also makes sheep not show
the help message about -r/--http option. Note that disabling
HTTP feature itself had been realized in commit 00965c1.

This closes sheepdog/sheepdog#203.

Signed-off-by: Takashi Menjo <takashi.menjo+github at gmail.com>
(cherry picked from commit 3a69abc6e059cc785d4ac055f12c59359f1e3137)


  Commit: c716f01daa1de7badb505d85ceb8aa3a33dfd9ac
      https://github.com/sheepdog/sheepdog/commit/c716f01daa1de7badb505d85ceb8aa3a33dfd9ac
  Author: zhanghongzhou <hongzhou.h.zhang at intel.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/gateway.c

  Log Message:
  -----------
  sheep/gateway Remove warning ‘nr_vids’ may be used uninitialized in this function

gateway.c:696: warning: ‘nr_vids’ may be used uninitialized in this function

Signed-off-by: Hongzhou Zhang <hongzhou.h.zhang at intel.com>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
(cherry picked from commit e36699b1c6672e5897137d05a73c71ea3a001245)


  Commit: da3e7a9335c057d68d4a3c71f08184a89261faab
      https://github.com/sheepdog/sheepdog/commit/da3e7a9335c057d68d4a3c71f08184a89261faab
  Author: Meng Lingkun <menglingkun at cmss.chinamobile.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/request.c

  Log Message:
  -----------
  sheep/request: fix bug of inconsistency between data_length and data

When log admin ops in rx_main, it should use req->rq.data_length
rather than req->rp.data_length. If not, we will always get "not
string" because of req->rp.data_length equals zero.

Signed-off-by: Meng Lingkun <menglingkun at cmss.chinamobile.com>
(cherry picked from commit b16b2079a7297560f7f4c1ea53f8c7820a3ac610)


  Commit: 67a41e98dd80693cb6d1709056262b33c30abd84
      https://github.com/sheepdog/sheepdog/commit/67a41e98dd80693cb6d1709056262b33c30abd84
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M sheep/recovery.c

  Log Message:
  -----------
  sheep: Shut up "warning: unused variable ‘rw’"

Without this, I got a message below when building:

>   CC       recovery.o
> recovery.c: In function ‘prepare_schedule_oid’:
> recovery.c:648:24: warning: unused variable ‘rw’ [-Wunused-variable]
>   struct recovery_work *rw;
>                         ^

Note that this is only for stable-0.9, not for master.

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: 38a89237774b56eef3c672f0dc452f7f288f7903
      https://github.com/sheepdog/sheepdog/commit/38a89237774b56eef3c672f0dc452f7f288f7903
  Author: Takashi Menjo <takashi.menjo+github at gmail.com>
  Date:   2016-07-19 (Tue, 19 Jul 2016)

  Changed paths:
    R debian/sheepdog.bash-completion
    M dog/vdi.c
    M include/util.h
    M lib/util.c
    M sheep/gateway.c
    M sheep/recovery.c
    M sheep/request.c
    M sheep/sheep.c
    M sheep/sheep_priv.h
    M sheep/store/common.c
    M sheep/store/md.c

  Log Message:
  -----------
  Merge pull request #291 from tmenjo/stable-0.9

For release v0.9.4


Compare: https://github.com/sheepdog/sheepdog/compare/796c88df19e3...38a89237774b


More information about the sheepdog mailing list