Re: [PATCH 0/5] remove superflous ->write_super instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 27, 2009 at 10:36:00AM -0400, Christoph Hellwig wrote:
> On Mon, Apr 27, 2009 at 10:32:21AM -0400, Theodore Tso wrote:
> > On Mon, Apr 27, 2009 at 09:46:40AM -0400, Christoph Hellwig wrote:
> > > Remove empty write_super methods and unessecary s_dirt maintainance.
> > 
> > I noticed you didn't supply a patch for ext4, so I'm guessing you
> > figured it out, but there is an (outdated) comment saying we should do
> > this for ext4; however, given that we now support non-journalled
> > operation, we do need to keep write_super() for when we aren't using
> > the journal to write the superblock.  I'll make a note to myself that
> > we need to update the comment in ext4/super.c.
> 
> Exactly, ext4 needs it for non-journaled mode.  It might make sense
> to just give the two modes different super_operations so that the normal
> journaled mode doesn't need a write_super at all.
> 

True.  We'll bloat the kernel text space a little by having a separate
super_operations but it will allow us to clean up the code; it's
probably a worthwhile tradeoff, since we it's not just
ext4_write_super(), but also ext4_freeze() and ext4_unfreeze().

							- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux