1. 15 Dec, 2015 8 commits
    • Split bdev into modules: overlay · 38683db4
      Christian Brauner authored
      With this commit we start to split bdev.{c,h} into modules located in the
      subfolder bdev. We start by creating a module for overlay: overlay.{c,h}.
      
      - The functions:
      
      	- overlayfs_detect()
      	- overlayfs_mount()
      	- overlayfs_umount()
      	- overlayfs_clonepaths()
      	- overlayfs_destroy()
      	- overlayfs_create()
      
        move from bdev.{c,h} to overlay.{c,h}. The only thing that remains in bdev.c
        is the static definition of
      
      	- static const struct bdev_ops overlayfs_ops
      
      - The functions:
      
      	- update_ovl_paths()
      	- overlay_getlower()
      
        move from lxccontainer.c to overlay.{c,h}. update_ovl_paths() is used to
        update absolute paths for overlay lxc.mount.entry entries but it seems to fit
        more here than into lxccontainer.c.
        The Function overlay_getlower() is used to extract the lower directory for
        overlay (and aufs) rootfs. It should at some point become a common helper.
      
      - The functions:
      
      	- do_rsync()
      	- dir_new_path()
      
         remain in bdev.c for now but become extern. We declare them extern in
         overlay.c to be able to call them. As the comment to them correctly notices,
         they should at some point become common helpers and probably move to
         utils.{c,h} or some other more appropriate place.
      
      - The structs:
      
      	- struct bdev; /* defined in bdev.h */
      	- struct bdev_specs; /* defined in lxccontainer.h */
      	- struct lxc_conf; /* defined conf.h */
      
        are forward declared/put as incomplete types in overlay.h so that the
        functions have access to it.
      
      - The header overlay.h is *not* included in bdev.h but only in bdev.c so that
        when bdev.h is included the public functions in overlay.h cannot be accessed,
        i.e. if an implementation wants to call functions from overlay.h they need to
        explicitly include it. (As is e.g. done in the case of lxccontainer.c.)
      
      - The header
      
      	- lxc-btrfs.h
      
        also moves to the bdev subfolder.
      
      - Adapt Makefile.am to the new bdev layout.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@mailbox.org>
    • Merge pull request #727 from fanyeren/patch-17 · fbc617e8
      Stéphane Graber authored
      lxc-top: print new line after flush terminal
    • Merge pull request #719 from liqiu/li-dev2 · aafeda82
      Stéphane Graber authored
      Return immediately in save_phys_nics if not run as root
    • Merge pull request #721 from armcc/master · dbadf422
      Stéphane Graber authored
      lxc-checkconfig: remove zgrep dependency
    • lxc-top: print new line after flush terminal · 4db667c4
      fanyeren authored
      I think this is a common feature for top-like programs.
      
      Signed-off-by: feng xiahou xiahoufeng@yahoo.com
    • lxc-checkconfig: remove zgrep dependency · 8c6edda4
      Andre McCurdy authored
      zgrep is a script provided by the 'gzip' package, which may not be
      installed on embedded systems etc which use busybox instead of the
      standard full-featured utilities.
      Signed-off-by: 's avatarAndre McCurdy <armccurdy@gmail.com>
    • Merge pull request #670 from ksperis/master · ab572367
      Stéphane Graber authored
      Add Ceph RBD backingstore.
  2. 13 Dec, 2015 5 commits
  3. 11 Dec, 2015 8 commits
  4. 10 Dec, 2015 14 commits
  5. 07 Dec, 2015 1 commit
  6. 04 Dec, 2015 1 commit
  7. 03 Dec, 2015 3 commits