1. 22 Mar, 2017 1 commit
  2. 24 Feb, 2017 1 commit
  3. 07 Nov, 2016 1 commit
  4. 21 Oct, 2016 1 commit
  5. 20 Oct, 2016 1 commit
  6. 06 Oct, 2016 1 commit
  7. 29 Sep, 2016 1 commit
    • Mike Hibler's avatar
      Machinery for supporting multiple RO/RW clones of a dataset in one experiment. · 72fb6763
      Mike Hibler authored
      Mostly ptopgen/libvtop changes to get things through assign.
      
      Added a new virt_blockstore_attribute, 'prereserve' that can be applied to
      a RW clone to pre-allocate the full amount of space allocated to the volume
      being cloned. This is instead of the default "sparse" clone which could run
      out of space at an inopportune time if the containing pool runs out of space.
      But it doesn't work yet.
      
      Everything is there in the front end to do the necessary capacity checks and
      allocations of space, but then I discovered that ZFS doesn't readily support
      a non-sparse clone! You can do this, I think, by tweaking the "refreserved"
      attribute of the volume after it is created but that would have to be done
      behind the back of FreeNAS and I would have to do some more testing before I
      am willing to go here.
      
      So for now, all clones are sparse and no one is charged for their usage.
      72fb6763
  8. 16 May, 2016 1 commit
  9. 25 Apr, 2016 1 commit
  10. 01 Apr, 2016 1 commit
  11. 29 Feb, 2016 1 commit
  12. 28 Jan, 2016 1 commit
  13. 22 Jan, 2016 2 commits
  14. 21 Jan, 2016 1 commit
  15. 17 Dec, 2015 1 commit
  16. 15 Dec, 2015 1 commit
  17. 07 Dec, 2015 1 commit
  18. 31 Aug, 2015 1 commit
  19. 10 Aug, 2015 1 commit
  20. 29 Jul, 2015 1 commit
  21. 22 Apr, 2015 1 commit
  22. 16 Apr, 2015 2 commits
  23. 04 Feb, 2015 1 commit
  24. 08 Dec, 2014 1 commit
  25. 30 Oct, 2014 1 commit
  26. 03 Oct, 2014 1 commit
  27. 17 Jul, 2014 1 commit
  28. 01 Jul, 2014 1 commit
  29. 20 Jun, 2014 1 commit
  30. 11 Jun, 2014 1 commit
  31. 22 May, 2014 1 commit
  32. 13 May, 2014 1 commit
  33. 22 Apr, 2014 1 commit
  34. 28 Feb, 2014 1 commit
  35. 15 Jan, 2014 2 commits
  36. 11 Dec, 2013 1 commit
    • Mike Hibler's avatar
      Mapping changes to support persistent blockstores. · a721e561
      Mike Hibler authored
      Quite simple actually. In ptopgen we add all persistent stores, which
      are identified by having a non-zero lease_idx. To ensure they are only
      matched up with the correct virt_blockstore, we add a feature "bs-lease-NN"
      where NN is the unique lease index with weight 1.0.
      
      In vtopgen, when a request is made to map a persistent store, we first
      verify that the experiment pid matches that of the blockstore's lease
      (this is a fer-now simple check which is actually redundant as we make
      this check in the parser too) and ensure that the blockstore is not already
      mapped (indicated by the blockstore_state entry having size==0) and then
      we emit an entry with desire "bs-lease-NN" and weight 1.0.
      
      Most of the file changes were actually to get the "preassign" flag to
      vtopgen forwarded into the various libvtop modules so that I can check it
      and not perform the permission/size check if it is set.
      a721e561
  37. 20 Nov, 2013 1 commit