All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Eeda <srinivas.eeda@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 2/3] ocfs2: implement discontiguous localalloc bitmap
Date: Mon, 07 May 2012 19:10:32 -0700	[thread overview]
Message-ID: <4FA88098.9070301@oracle.com> (raw)
In-Reply-To: <20120508002256.GD4713@dhcp-172-17-9-228.mtv.corp.google.com>

Joel Becker wrote:
> On Mon, May 07, 2012 at 04:21:29PM -0700, Srinivas Eeda wrote:
>   
>
> 	OH MY DOG NO.  NEVER EVER DO THIS.  You cannot update an old
> filesystem on the fly!  What about other nodes that are running older
> versions of the software?  They will crash or corrupt data!  The entire
> point of feature bits is to make sure all nodes are speaking the same
> code.
>
> NAK NAK NAK
>
> 	This explains why you trusted la_rec_count earlier.  But that is
> broken.  When your patches are done, the code should use la_bm_off and
> la_bitmap when !DISCONTIG_LA and then use la_rec_count, etc when
> DISCONTIG_LA.  The only way to transition between them is a tunefs.ocfs2
> operation that walks the filesystem, flushes the bitmap, and then
> sets/clears la_rec_count appropriately depending on the direction..
>   
Please please don't hate me :( ... the changes takes care of old formats 
as well ...  I used the reserved space in the structure so that the code 
changes will be minimal and still compatible with old file system 
formats. I agree that we need to have some reserved space still 
available. So as discussed I'll redo the changes accordingly. Please 
ignore all the patches.

Thanks,
--Srini

  reply	other threads:[~2012-05-08  2:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 23:21 [Ocfs2-devel] ocfs2 discontiguous localalloc patches Srinivas Eeda
2012-05-07 23:21 ` [Ocfs2-devel] [PATCH 1/3] ocfs2: new structure to implment discontiguous local alloc bitmap Srinivas Eeda
2012-05-08  0:05   ` Joel Becker
2012-05-08  0:28   ` Joel Becker
2012-05-07 23:21 ` [Ocfs2-devel] [PATCH 2/3] ocfs2: implement discontiguous localalloc bitmap Srinivas Eeda
2012-05-08  0:22   ` Joel Becker
2012-05-08  2:10     ` Srinivas Eeda [this message]
2012-05-07 23:21 ` [Ocfs2-devel] [PATCH 3/3] ocfs2: modify reservation code to support discontigous localalloc Srinivas Eeda
2012-05-08  0:34   ` Joel Becker
2012-05-08  0:01 ` [Ocfs2-devel] ocfs2 discontiguous localalloc patches Joel Becker
2012-05-08  1:26   ` Srinivas Eeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA88098.9070301@oracle.com \
    --to=srinivas.eeda@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.