Message ID | 20120719164602.7d5aadaf@notabene.brown (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
T24gVGh1LCAyMDEyLTA3LTE5IGF0IDE2OjQ2ICsxMDAwLCBOZWlsQnJvd24gd3JvdGU6DQo+IFty ZXNlbmRpbmcgLSB3aXRoIG1vcmUgY3VycmVudCBhZGRyZXNzIGZvciB0cm9uZF0NCj4gDQo+IEhp IFRyb25kIGV0IGFsLg0KPiANCj4gIHdlIGhhdmUgYSBjdXN0b21lciB3aG8gcmVwb3J0cyBnZXR0 aW5nIHRoZSBtZXNzYWdlOg0KPiAgICAgICAgIFsxMDg3OTUxMi4yNzUzMDVdIE5GU3Y0IGNhbGxi YWNrOiB0b28gbWFueSBvcGVuICBjb25uZWN0aW9ucywNCj4gIGNvbnNpZGVyIGluY3JlYXNpbmcg dGhlIG51bWJlciBvZiB0aHJlYWRzLiBbMTA4Nzk1MTIuMjc1MzE1XSBORlN2NCBjYWxsYmFjazoN Cj4gIHRvbyBtYW55IG9wZW4gIGNvbm5lY3Rpb25zLCBjb25zaWRlciBpbmNyZWFzaW5nIHRoZSBu dW1iZXIgb2YgdGhyZWFkcy4NCj4gIFsxMDg3OTUxNy4yNzYxMzNdIF9fcmF0ZWxpbWl0OiAxMzMw MTEgY2FsbGJhY2tzIHN1cHByZXNzZWQNCj4gDQo+IE9mIGNvdXJzZSB5b3UgY2Fubm90IGluY3Jl YXNlIHRoZSBudW1iZXIgb2YgdGhyZWFkcyBoYW5kbGluZyBjYWxsYmFja3MuDQo+IA0KPiBUaGUg cGF0Y2ggYmVsb3cgd2lsbCBnZXQgcmlkIG9mIHRoZSBtZXNzYWdlIC0gd2hpY2ggaXMgcHJlc3Vt YWJseSBtb3N0bHkganVzdA0KPiBub2lzZSAtIG9yIHBvc3NpYmx5IGNoYW5nZSBpdCB0bw0KPiAg ICBORlN2NCBjYWxsYmFjazogdG9vIG1hbnkgb3BlbiBjb25uZWN0aW9ucywgY29uc2lkZXIgaW5j cmVhc2luZyB0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G1heGltdW0gb2YgODAgY29ubmVjdGlvbnMNCj4gKwkgKi8NCj4gKwlzZXJ2LT5zdl9tYXhj b25uID0gMTAyNDsNCj4gIA0KPiAgCXJldCA9IHN2Y19iaW5kKHNlcnYsIG5ldCk7DQo+ICAJaWYg KHJldCA8IDApIHsNCg0KSGkgTmVpbCwNCg0KQ291bGQgeW91IHBsZWFzZSBhZGQgdGhlIG1pc3Np bmcgcy1vLWI/DQoNCkNoZWVycw0KICBUcm9uZA0K -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 23ff18f..1129c42 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c @@ -265,6 +265,10 @@ int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) ret = -ENOMEM; goto out_err; } + /* As there is only one thread so we need to over-ride the + * default maximum of 80 connections + */ + serv->sv_maxconn = 1024; ret = svc_bind(serv, net); if (ret < 0) {