lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [dm-devel] [PATCH 2/3] Introduce percpu rw semaphores
On Mon, Jul 30, 2012 at 08:00:19PM -0400, Mikulas Patocka wrote:
>
>
> On Mon, 30 Jul 2012, Paul E. McKenney wrote:
>
> > On Sun, Jul 29, 2012 at 01:13:34AM -0400, Mikulas Patocka wrote:
> > > On Sat, 28 Jul 2012, Eric Dumazet wrote:
> > > > On Sat, 2012-07-28 at 12:41 -0400, Mikulas Patocka wrote:
> >
> > [ . . . ]
> >
> > > > (bdev->bd_block_size should be read exactly once )
> > >
> > > Rewrite all direct and non-direct io code so that it reads block size just
> > > once ...
> >
> > For whatever it is worth, the 3.5 Linux kernel only has about ten mentions
> > of bd_block_size, at least according to cscope.
>
> plus 213 uses of i_blkbits (which is derived directly from bd_block_size).
> 45 of them is in fs/*.c and mm/*.c

At least it is only hundreds rather than thousands! ;-)

Thanx, Paul



\
 
 \ /
  Last update: 2012-08-01 20:01    [W:0.715 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site