[RFC] NFSd laundromat containerization

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

I'm currently looking on NFSd laundromat work, and it looks like have to be performed per networks namespace context. It's easy to make corresponding delayed work per network namespace and thus gain per-net data pointer in laundromat function. But here a problem appears: network namespace is required to skip clients from other network namespaces while iterating over global lists (client_lru and friends).
I see two possible solutions:
1) Make these list per network namespace context. In this case network namespace will not be required - per-net data will be enough.
2) Put network namespace link on per-net data (this one is easier, but uglier).

Would be appreciated for any comments.

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

[Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Photo]     [Yosemite Info]    [Yosemite Photos]    [POF Sucks]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux