Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1368303

Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc area size

From Matias Bjørling <mb@lightnvm.io>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc area size
Date 2016-03-31 15:30 +0200
Message-ID <riKPF-5Ha-19@gated-at.bofh.it> (permalink)
References (1 earlier) <riGj1-2dv-33@gated-at.bofh.it> <riGCn-2kC-37@gated-at.bofh.it> <riHyr-32C-27@gated-at.bofh.it> <riHI6-3m0-15@gated-at.bofh.it> <riI1s-3uW-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/31/2016 12:26 PM, Wenwei Tao wrote:
> This is okay with me.
> By the way, why don't you like  (sector_t)dev->sec_size *
> dev->sec_per_lun * rrpc->nr_luns, the change seems smaller?

Both works. I wanted to fix the underlying issue (which was rrpc values 
wasn't initialized enough to be used). Back when luns could be of 
different sizes, it made sense. Now that we can have the values up 
front, it makes sense to use them. :)

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc area size Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-30 16:30 +0200
  [PATCH 2/2] lightnvm: use relative logical address in rrpc_l2p_update Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-30 16:30 +0200
    Re: [PATCH 2/2] lightnvm: use relative logical address in  rrpc_l2p_update Matias Bjørling <mb@lightnvm.io> - 2016-03-31 11:20 +0200
      Re: [PATCH 2/2] lightnvm: use relative logical address in rrpc_l2p_update Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-31 13:10 +0200
  Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-31 10:40 +0200
    Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Matias Bjørling <mb@lightnvm.io> - 2016-03-31 11:00 +0200
      Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-31 12:00 +0200
        Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Matias Bjørling <mb@lightnvm.io> - 2016-03-31 12:10 +0200
          Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Wenwei Tao <ww.tao0320@gmail.com> - 2016-03-31 12:30 +0200
            Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc  area size Matias Bjørling <mb@lightnvm.io> - 2016-03-31 15:30 +0200

csiph-web