Re: status of MMP?

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

 



On 2010-05-07, at 11:14, Bernd Schubert wrote:
> On 05/07/2010 05:06 PM, Andi Kleen wrote:
>> Bernd Schubert <bs_lists@xxxxxxxxxxxxxxxxx> writes:
>>> Lustres ldiskfs already has MMP support for several years and I would like to know what is the blocker for ext4? Updating the MMP patches for ext4-git 
>>> should be fairly simple.
>> 
>> AFAIK simply nobody has done the work and submitted it.
>> 
>> Simply adding it would break LVM snapshots though, so there's a 
>> compatibility issue.
> 
> Well, firstly, you are not forced to enable MMP. And then, I don't
> understand what should be the issue with MMP. We use snapshots + ldiskfs
> + MMP all the time.

The MMP thread is not started on a device that is mounted read-only, which should be the case for all snapshots.  The snapshot is a logically different block device, so even if it were changed to be read-write that would be fine since the MMP thread would prevent shared access to THAT block device, not the original block device.

> I have a basic understanding how the MMP code works, but not as thorough
> as the Orcacle Lustre team. Andreas, would you mind if I post updated
> patches here?

No objection at all - it's one of the things I've been meaning to do for a while, but haven't gotten around to.  It has been in widespread use at a number of sites and has been working well.  It definitely isn't something that we would want to enable by default, since it would prevent disks from spinning down and would add some background IO overhead.  For environments with SAN or multi-port storage (e.g. HA servers) it is an important safety check that can prevent massive data corruption.

In Lustre bugzilla bug 22375 is a version that has been updated for the 2.6.32 kernel, so that is probably the best one to start with and I'd be surprised if much needs to change to land it upstream.  The e2fsprogs support is in the Lustre e2fsprogs against 1.41.10 and should really be landed upstream before or at the same time as the kernel.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.

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

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux