1. 20 Jan, 2013 2 commits
    • Ilya Dryomov's avatar
      Btrfs: fix "mutually exclusive op is running" error code · 2c0c9da0
      Ilya Dryomov authored
      The error code that is returned in response to starting a mutually
      exclusive operation when there is one already running got silently
      changed from EINVAL to EINPROGRESS by 5ac00add.  Returning EINPROGRESS
      to, say, add_dev, when rm_dev is running is misleading.  Furthermore,
      the operation itself may want to use EINPROGRESS for other purposes.
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      2c0c9da0
    • Ilya Dryomov's avatar
      Btrfs: bring back balance pause/resume logic · ed0fb78f
      Ilya Dryomov authored
      Balance pause/resume logic got broken by 5ac00add (went in into 3.8-rc1
      as part of dev-replace merge).  Offending commit took a stab at making
      mutually exclusive volume operations (add_dev, rm_dev, resize, balance,
      replace_dev) not block behind volume_mutex if another such operation is
      in progress and instead return an error right away.  Balancing front-end
      relied on the blocking behaviour, so the fix is ugly, but short of a
      complete rework, it's the best we can do.
      Reported-by: default avatarLiu Bo <bo.li.liu@oracle.com>
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      ed0fb78f
  2. 14 Jan, 2013 14 commits
  3. 19 Dec, 2012 1 commit
  4. 18 Dec, 2012 1 commit
  5. 17 Dec, 2012 22 commits