1. 07 May, 2019 2 commits
  2. 06 May, 2019 1 commit
  3. 05 May, 2019 1 commit
  4. 04 May, 2019 2 commits
    • Tomohiro Kusumi's avatar
      Linux 5.0 compat: Use totalhigh_pages() · de3e0b91
      Tomohiro Kusumi authored
      
      Linux kernel commit ca79b0c211af63fa3276f0e3fd7dd9ada2439839
      "mm: convert totalram_pages and totalhigh_pages variables to atomic"
      
      replaced `totalhigh_pages` with an inline function `totalhigh_pages()`.
      This broke compilation on IA32, etc, as ZoL uses `totalhigh_pages`
      on archs with highmem. Confirmed on Fedora 30 (5.0.9-301.fc30.i686).
      Reviewed-by: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
      Signed-off-by: default avatarTomohiro Kusumi <kusumi.tomohiro@gmail.com>
      Closes #8677
      Closes #8701 
      de3e0b91
    • John Gallagher's avatar
      Improve rate at which new zvols are processed · 1eacf2b3
      John Gallagher authored
      
      The kernel function which adds new zvols as disks to the system,
      add_disk(), briefly opens and closes the zvol as part of its work.
      Closing a zvol involves waiting for two txgs to sync. This, combined
      with the fact that the taskq processing new zvols is single threaded,
      makes this processing new zvols slow.
      
      Waiting for these txgs to sync is only necessary if the zvol has been
      written to, which is not the case during add_disk(). This change adds
      tracking of whether a zvol has been written to so that we can skip the
      txg_wait_synced() calls when they are unnecessary.
      
      This change also fixes the flags passed to blkdev_get_by_path() by
      vdev_disk_open() to be FMODE_READ | FMODE_WRITE | FMODE_EXCL instead of
      just FMODE_EXCL. The flags were being incorrectly calculated because
      we were using the wrong version of vdev_bdev_mode().
      Reviewed-by: default avatarGeorge Wilson <george.wilson@delphix.com>
      Reviewed-by: default avatarSerapheim Dimitropoulos <serapheim@delphix.com>
      Reviewed-by: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
      Signed-off-by: default avatarJohn Gallagher <john.gallagher@delphix.com>
      Closes #8526 
      Closes #8615 
      1eacf2b3
  5. 02 May, 2019 5 commits
  6. 01 May, 2019 3 commits
  7. 30 Apr, 2019 3 commits
  8. 26 Apr, 2019 2 commits
  9. 25 Apr, 2019 15 commits
  10. 23 Apr, 2019 1 commit
  11. 19 Apr, 2019 4 commits
  12. 16 Apr, 2019 1 commit