Fix for svn mogilefsd

dormando dormando at rydia.net
Fri Oct 27 02:23:21 UTC 2006


Sorry, ignore this. Wrong file :( Not even the right fix :(

dormando wrote:
> I have a few fixes coming tomorrow morning from our adventures in 
> testing mogilefsd 2.0 out of SVN, which is now in production. This patch 
> is pretty funny/serious so I'll toss it out right now.
> 
> -Dormando
> 
> --- /tmp/mogilefsd      2006-10-26 19:13:13.355247500 -0700
> +++ /usr/bin/mogilefsd  2006-10-26 19:12:49.065729500 -0700
> @@ -272,7 +272,7 @@
>          next unless $dev->{status} eq 'alive';
>          next if $not_on_host{$dev->{hostid}};
>          next if $opts{max_disk_age} && $dev->{mb_asof} &&
> -                $dev->{mb_asof} < $opts{max_disk_age};
> +                $dev->{mb_asof} > $opts{max_disk_age};
>          next if $opts{min_free_space} && $dev->{mb_total} &&
>                  $dev->{mb_free} < $opts{min_free_space};
>          next if $opts{must_be_writeable} &&



More information about the mogilefs mailing list