1. 05 5月, 2020 29 次提交
  2. 29 4月, 2020 2 次提交
  3. 21 4月, 2020 1 次提交
  4. 09 4月, 2020 1 次提交
  5. 08 4月, 2020 2 次提交
  6. 04 4月, 2020 1 次提交
  7. 30 3月, 2020 1 次提交
  8. 27 3月, 2020 1 次提交
  9. 25 3月, 2020 1 次提交
    • D
      zonfs: Fix handling of read-only zones · ccf4ad7d
      Damien Le Moal 提交于
      The write pointer of zones in the read-only consition is defined as
      invalid by the SCSI ZBC and ATA ZAC specifications. It is thus not
      possible to determine the correct size of a read-only zone file on
      mount. Fix this by handling read-only zones in the same manner as
      offline zones by disabling all accesses to the zone (read and write)
      and initializing the inode size of the read-only zone to 0).
      
      For zones found to be in the read-only condition at runtime, only
      disable write access to the zone and keep the size of the zone file to
      its last updated value to allow the user to recover previously written
      data.
      
      Also fix zonefs documentation file to reflect this change.
      Signed-off-by: NDamien Le Moal <damien.lemoal@wdc.com>
      Reviewed-by: NJohannes Thumshirn <johannes.thumshirn@wdc.com>
      ccf4ad7d
  10. 21 3月, 2020 1 次提交