Re: [PATCH 5/5] staging/lustre: Use generic range rwlock

From: Davidlohr Bueso
Date: Wed Mar 08 2017 - 10:27:30 EST


On Tue, 07 Mar 2017, Oleg Drokin wrote:
On Mar 7, 2017, at 12:03 AM, Davidlohr Bueso wrote:

This replaces the in-house version, which is also derived
from Jan's interval tree implementation.

Cc: oleg.drokin@xxxxxxxxx
Cc: andreas.dilger@xxxxxxxxx
Cc: jsimmons@xxxxxxxxxxxxx
Cc: lustre-devel@xxxxxxxxxxxxxxxx

Signed-off-by: Davidlohr Bueso <dbueso@xxxxxxx>
---
XXX: compile tested only. In house uses 'ulong long', generic uses 'ulong', is this a problem?

Hm, cannot seem to find the other patches in this series anywhere to verify and my subscription to linux-kernel broke as it turns out.

You can find the full series here:

https://lwn.net/Articles/716383/

You mean the range is ulong? So only can have this working up to 2G offsets on the
32bit systems and then wrap around?

Yes.

Thanks,
Davidlohr