1. 07 5月, 2016 24 次提交
  2. 19 3月, 2016 4 次提交
  3. 04 3月, 2016 6 次提交
  4. 05 2月, 2016 4 次提交
  5. 12 1月, 2016 2 次提交
    • M
      lightnvm: introduce factory reset · 8b4970c4
      Matias Bjørling 提交于
      Now that a device can be managed using the system blocks, a method to
      reset the device is necessary as well. This patch introduces logic to
      reset the device easily to factory state and exposes it through an
      ioctl.
      
      The ioctl takes the following flags:
      
        NVM_FACTORY_ERASE_ONLY_USER
            By default all blocks, except host-reserved blocks are erased upon
            factory reset. Instead of this, only erase host-reserved blocks.
        NVM_FACTORY_RESET_HOST_BLKS
            Mark host-reserved blocks to be erased and set their type to free.
        NVM_FACTORY_RESET_GRWN_BBLKS
            Mark "grown bad blocks" to be erased and set their type to free.
      Signed-off-by: NMatias Bjørling <m@bjorling.me>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      8b4970c4
    • M
      lightnvm: use system block for mm initialization · b7692076
      Matias Bjørling 提交于
      Use system block information to register the appropriate media manager.
      This enables the LightNVM subsystem to instantiate a media manager
      selected by the user, instead of relying on automatic detection by each
      media manager loaded in the kernel.
      
      A device must now be initialized before it can proceed to initialize its
      media manager. Upon initialization, the configured media manager is
      automatically initialized as well.
      Signed-off-by: NMatias Bjørling <m@bjorling.me>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      b7692076
新手
引导
客服 返回
顶部