lkml.org 
[lkml]   [2002]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: block device size in 2.5
From
On Thu, Oct 03, 2002 at 06:46:30AM -0400, Alexander Viro wrote:
>
>
> On Thu, 3 Oct 2002, Joe Thornber wrote:
>
> > Why is the total size of a block device held in struct gendisk rather
> > than struct block_device ?
>
> It is mirrored into bdev->bd_inode->i_size. However, struct block_device
> is not persistent - persistent stuff lives in struct gendisk.

Thanks.

Is gendisk the right name for that structure now ? Since all block
devices now have to use it. I've always avoided using gendisk before,
arguing that dm produces block devices, not disks. I don't need
partitions and I don't particularly want the devices to appear in
/proc/partitions.

Joe Thornber
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.038 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site