Skip to content

Commit d37c0f3

Browse files
committed
Orangefs: clean up orangefs_kernel_op_s comments.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
1 parent c1223ca commit d37c0f3

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

‎fs/orangefs/orangefs-kernel.h‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,12 @@ struct orangefs_kernel_op_s {
188188
__u64 tag;
189189

190190
/*
191-
* Set uses_shared_memory to 1 if this operation uses shared memory.
192-
* If true, then a retry on the op must also get a new shared memory
193-
* buffer and re-populate it. Cancels don't care - it only matters
194-
* for service_operation() retry logics and cancels don't go through
195-
* it anymore.
191+
* Set uses_shared_memory to non zero if this operation uses
192+
* shared memory. If true, then a retry on the op must also
193+
* get a new shared memory buffer and re-populate it.
194+
* Cancels don't care - it only matters for service_operation()
195+
* retry logics and cancels don't go through it anymore. It
196+
* safely stays non-zero when we use it as slot_to_free.
196197
*/
197198
union {
198199
int uses_shared_memory;
@@ -205,8 +206,6 @@ struct orangefs_kernel_op_s {
205206
struct completion waitq;
206207
spinlock_t lock;
207208

208-
/* VFS aio fields */
209-
210209
int attempts;
211210

212211
struct list_head list;

0 commit comments

Comments
 (0)