Re: [PATCH 05/15] staging: lustre: ldlm: use accessor macros for l_flags

From: Bruce Korb
Date: Wed Apr 27 2016 - 18:51:19 EST


Wow! I remember this stuff, even if from 3 years ago. Feels like a lifetime. Is this patch being applied to official Linux, hence this message? Xyratex collapsed, shed a mess of employees and sold the remnant to Seagate. Consequently, I don't really follow Lustre any more. Sorry.

On 04/27/16 15:20, James Simmons wrote:
From: Bruce Korb <bruce.korb@xxxxxxxxx>

Convert most of the ldlm lock's l_flags references from direct
bit twiddling to using bit specific macros. A few multi-bit
operations are left as an exercise for the reader.

The changes are mostly in ldlm, but also in llite, osc and quota.
Also add a multi-bit (mask) test.

Signed-off-by: Bruce Korb <bruce.korb@xxxxxxxxx>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2906
Reviewed-by: Keith Mannthey <Keith.Mannthey@xxxxxxxxx>
Reviewed-on: http://review.whamcloud.com/7963
Reviewed-by: Doug Oucharek <doug.s.oucharek@xxxxxxxxx>
Reviewed-by: Andreas Dilger <andreas.dilger@xxxxxxxxx>
Signed-off-by: James Simmons <jsimmons@xxxxxxxxxxxxx>
---
.../lustre/lustre/include/lustre_dlm_flags.h | 3 +