All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM2 modifies the buffer_head struct?
@ 2002-07-02  8:41 Tom Walcott
  2002-07-02 14:17   ` Joe Thornber
  0 siblings, 1 reply; 33+ messages in thread
From: Tom Walcott @ 2002-07-02  8:41 UTC (permalink / raw)
  To: linux-lvm, linux-kernel

Hello,

Browsing the patch submitted for 2.4 inclusion, I noticed that LVM2 modifies 
the buffer_head struct. Why does LVM2 require the addition of it's own 
private field in the buffer_head? It seems that it should be able to use the 
existing b_private field.

How does that extra field affect performance relative to the cache? Won't 
any negative effects be seen by everything that uses buffer_heads? Also, as 
I understand the slab code and hardware cache alignment, won't the addition 
of the new field cause the each buffer_head to consume 128 bytes instead of 
96?

Just curious to know why this field was added, when the buffer_head already 
had a field for this purpose.

-Tom



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-lvm] LVM2 modifies the buffer_head struct?
@ 2002-07-05  0:21 Mark Peloquin
  0 siblings, 0 replies; 33+ messages in thread
From: Mark Peloquin @ 2002-07-05  0:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: joe, linux-lvm

On 2002-07-02 14:17:02, Joe wrote:

>This is a horrible hack to get around the fact that ext3 uses the
>b_private field for its own purposes after the buffer_head has been
>handed to the block layer (it doesn't just use b_private when in the
>b_end_io function).  Is this acceptable behaviour ?  Other > filesystems
>do not have similar problems as far as I know.

Under what conditions does ext3 exhibit this behaviour? In EVMS, we have 
been stacking the b_private field (for many months), and have not seen any 
problems or have had any problems reported with ext3.

Mark



_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-lvm] LVM2 modifies the buffer_head struct?
@ 2002-07-05 15:23 Mark Peloquin
  0 siblings, 0 replies; 33+ messages in thread
From: Mark Peloquin @ 2002-07-05 15:23 UTC (permalink / raw)
  To: linux-kernel

On 2002-07-02 14:17:02, Joe wrote:

>This is a horrible hack to get around the fact that ext3 uses the
>b_private field for its own purposes after the buffer_head has been
>handed to the block layer (it doesn't just use b_private when in the
>b_end_io function).  Is this acceptable behaviour ?  Other > filesystems
>do not have similar problems as far as I know.

Under what conditions does ext3 exhibit this behaviour? In EVMS, we have
been stacking the b_private field (for many months), and have not seen any
problems or have had any problems reported with ext3.

Mark



^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2002-07-07 19:49 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-02  8:41 [linux-lvm] LVM2 modifies the buffer_head struct? Tom Walcott
2002-07-02  9:17 ` Joe Thornber
2002-07-02 14:17   ` Joe Thornber
2002-07-03  5:09   ` Jens Axboe
2002-07-03 10:08     ` Jens Axboe
2002-07-03  5:23     ` Andrew Morton
2002-07-03 10:28       ` Andrew Morton
2002-07-03  7:01     ` Joe Thornber
2002-07-03 12:01       ` Joe Thornber
2002-07-03  7:10       ` Jens Axboe
2002-07-03 12:10         ` Jens Axboe
2002-07-03 23:44         ` Neil Brown
2002-07-04  4:46           ` Neil Brown
2002-07-04  0:39           ` Andrew Morton
2002-07-04  5:44             ` Andrew Morton
2002-07-04  2:46           ` Joe Thornber
2002-07-04  7:45             ` Joe Thornber
2002-07-04  2:58           ` Jens Axboe
2002-07-04  7:58             ` Jens Axboe
2002-07-04  3:34             ` Andrew Morton
2002-07-04  8:40               ` Andrew Morton
2002-07-04  3:40               ` Jens Axboe
2002-07-04  8:39                 ` Jens Axboe
2002-07-04  3:58                 ` Joe Thornber
2002-07-04  8:57                   ` Joe Thornber
2002-07-04  4:00                   ` Jens Axboe
2002-07-04  9:00                     ` Jens Axboe
2002-07-04  4:38                 ` Andrew Morton
2002-07-04  9:44                   ` Andrew Morton
2002-07-07 14:52                   ` Joe Thornber
2002-07-07 20:51                     ` Joe Thornber
  -- strict thread matches above, loose matches on Subject: below --
2002-07-05  0:21 Mark Peloquin
2002-07-05 15:23 Mark Peloquin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.