Skip to content

Commit d1ec6d8

Browse files
author
Robert Baldyga
committed
Make alock_rw a bit field
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
1 parent b333279 commit d1ec6d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ocf_request.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ struct ocf_request {
254254
uint8_t rw : 1;
255255
/*!< Indicator of IO direction - Read/Write */
256256

257+
uint8_t alock_rw: 1;
258+
/*!< Read/Write mode for alock*/
259+
257260
uint8_t d2c : 1;
258261
/**!< request affects metadata cachelines (is not direct-to-core) */
259262

@@ -309,9 +312,6 @@ struct ocf_request {
309312

310313
struct ocf_req_discard_info discard;
311314

312-
uint32_t alock_rw;
313-
/*!< Read/Write mode for alock*/
314-
315315
uint8_t *alock_status;
316316
/*!< Mapping for locked/unlocked alock entries */
317317

0 commit comments

Comments
 (0)