Re: Fwd: proposals to afr

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

 



On 10/25/07, Krishna Srinivas <krishna@xxxxxxxxxxxxx> wrote:

> So during open(), if version is same if the trusted_afr_open is set
> and file is not open, then it needs repair. As of now I dont see any
> problem with this algorithm but need to assess how complicated
> it is to implement it. Because the more we do state maintenance,
> the more the race conditions we will have to handle (that is a very
> general statement though)


I propose to use the algo with implemented one checking file mtime and size.
The new algo helps to detect inconsistency when sizes are equal and mtimes
differ slightly but contents differs (can happen when application didn't
change size, instead it changed some bytes before crash), the old one helps
to detect inconsistency when admin placed on childs different files with the
same full name (the flag is not set).

Will keep you guys informed regarding this.


thanx, Alexey.

Thanks
> Krishna
>
>


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux