From: Andreas Dilger Subject: Re: Regarding random grouop search start for allocation of inode. Date: Thu, 3 Dec 2015 10:58:41 -0700 Message-ID: References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Cc: "linux-ext4@vger.kernel.org" To: lokesh jaliminche Return-path: Received: from mail-ig0-f177.google.com ([209.85.213.177]:38455 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648AbbLCR6p (ORCPT ); Thu, 3 Dec 2015 12:58:45 -0500 Received: by igbxm8 with SMTP id xm8so18195472igb.1 for ; Thu, 03 Dec 2015 09:58:44 -0800 (PST) In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: T24gRGVjIDMsIDIwMTUsIGF0IDAxOjA3LCBsb2tlc2ggamFsaW1pbmNoZSA8bG9rZXNoLmphbGlt aW5jaGVAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+IFRob3VnaHQgb2YgZ2l2aW5nIG1vcmUgY2xh cmlmaWNhdGlvbiBvbiBteSBxdWVzdGlvbg0KPiB3aHkgZ3JvdXAgc2VhcmNoIHN0YXJ0IGlzIHJh bmRvbSA/IGJlY2F1c2Ugd2UgY2FuIGFsc28gc3RhcnQgIHNlYXJjaA0KPiBmb3IgdmFsaWQgZ3Jv dXBzIGZvciBpbm9kZSBhbGxvY2F0aW9uIGZyb20gdGhlIHN0YXJ0LiBBcyB0aGlzIGdyb3VwDQo+ IHNlYXJjaCBpcyByYW5kb20gIGlub2RlIHNlbGVjdGlvbiBtaWdodCBnbyB0byBlbmQgb2YgZ3Jv dXBzIHdoaWNoDQo+IG1pZ2h0IGFmZmVjdCBJTyBwZXJmb3JtYW5jZQ0KDQpTdGFydGluZyB0aGUg aW5vZGUgc2VhcmNoIGF0IHRoZSBiZWdpbm5pbmcgb2YgdGhlIGRpc2sgZWFjaCB0aW1lDQptZWFu cyB0aGF0IGlub2RlIGFsbG9jYXRpb24gd2lsbCBiZSB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WYgKHFzdHIpIHsNCj4+INCSwrvQksK30JLCt9CSwrfQksK3 0JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQ ksK30JLCt9CSwrfQksK30JLCt2hpbmZvLmhhc2hfdmVyc2lvbiA9IExESVNLRlNfRFhfSEFTSF9I QUxGX01ENDsNCj4+INCSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK3 0JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt2hpbmZv LnNlZWQgPSBzYmktPnNfaGFzaF9zZWVkOw0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLC t9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK3 0JLCt9CSwrfQksK3bGRpc2tmc2ZzX2Rpcmhhc2gocXN0ci0+bmFtZSwgcXN0ci0+bGVuLCAmaGlu Zm8pOw0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK3 0JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK3Z3JwID0gaGlu Zm8uaGFzaDsNCj4+INCSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK3 0JLCt9CSwrfQksK30JLCt9CSwrd9IGVsc2UNCj4+INCSwrvQksK30JLCt9CSwrfQksK30JLCt9CS wrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLC t9CSwrfQksK30JLCt2dldF9yYW5kb21fYnl0ZXMoJmdycCwgc2l6ZW9mKGdycCkpOw0KPj4g0JLC u9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK3 0JLCt3BhcmVudF9ncm91cCA9ICh1bnNpZ25lZClncnAgJSBuZ3JvdXBzOw0KPj4g0JLCu9CSwrfQ ksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt2Zv ciAoaSA9IDA7IGkgPCBuZ3JvdXBzOyBpKyspIHsNCj4+INCSwrvQksK30JLCt9CSwrfQksK30JLC t9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK3 0JLCt9CSwrfQksK30JLCt2cgPSAocGFyZW50X2dyb3VwICsgaSkgJSBuZ3JvdXBzOw0KPj4g0JLC u9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK3 0JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK3Z2V0X29ybG92X3N0YXRzKHNiLCBn LCBmbGV4X3NpemUsICZzdGF0cyk7DQo+PiDQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLC t9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK3 0JLCt9CSwrdpZiAoIXN0YXRzLmZyZWVfaW5vZGVzKQ0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQ ksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CS wrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrdjb250aW51 ZTsNCj4+INCSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CS wrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt2lmIChzdGF0cy51 c2VkX2RpcnMgPj0gYmVzdF9uZGlyKQ0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CS wrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLC t9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrdjb250aW51ZTsNCj4+INCS wrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLC t9CSwrfQksK70JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt2lmIChzdGF0cy5mcmVlX2lub2Rl cyA8IGF2ZWZyZWVpKQ0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLC t9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK3 0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrdjb250aW51ZTsNCj4+INCSwrvQksK30JLC t9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK7 0JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCt2lmIChzdGF0cy5mcmVlX2Jsb2NrcyA8IGF2ZWZy ZWViKQ0KPj4g0JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQksK3 0JLCt9CSwrfQksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30JLCu9CSwrfQ ksK30JLCt9CSwrfQksK30JLCt9CSwrdjb250aW51ZTsNCj4+INCSwrvQksK30JLCt9CSwrfQksK3 0JLCt9CSwrfQksK30JLCu9CSwrfQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK70JLCt9CSwrfQ ksK30JLCt9CSwrfQksK30JLCt2dycCA9IGc7DQo+PiDQksK70JLCt9CSwrfQksK30JLCt9CSwrfQ ksK30JLCt9CSwrvQksK30JLCt9CSwrfQksK30JLCt9CSwrfQksK30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