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


Groups > linux.kernel > #1308846 > unrolled thread

Re: [PATCH] null_blk: use sector_div instead of do_div

Started byArnd Bergmann <arnd@arndb.de>
First post2016-01-13 22:50 +0100
Last post2016-01-13 22:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] null_blk: use sector_div instead of do_div Arnd Bergmann <arnd@arndb.de> - 2016-01-13 22:50 +0100

#1308846 — Re: [PATCH] null_blk: use sector_div instead of do_div

FromArnd Bergmann <arnd@arndb.de>
Date2016-01-13 22:50 +0100
SubjectRe: [PATCH] null_blk: use sector_div instead of do_div
Message-ID<qQBsK-5De-11@gated-at.bofh.it>
On Friday 18 December 2015 17:13:40 Arnd Bergmann wrote:
> On Saturday 28 November 2015 09:05:56 Matias Bjørling wrote:
> > 
> > I had my head around the original code and kept references to the device 
> > layout I had in mind. 256 being number of pages in a block, and the 2^16 
> > being number of blocks in a lun and wanted to communicate that part.. 
> > which led to producing silly code in the mean time.
> > 
> > Similarly, the bs is always fixed to 4k for lightnvm, until other bs 
> > sizes are supported. We could optimize it out, I left it in for the same 
> > reasons.
> 
> I still see the build warning in linux-next, can you merge your patch?

The merge window is open now, the bug persists in linux-next. I'm
submitting Matias version now.

	Arnd

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web