mirror of
https://github.com/schoebel/mars
synced 2025-02-16 20:16:57 +00:00
remove superfluous volatile keywords
This commit is contained in:
parent
281c371d49
commit
7200a93c7c
@ -62,7 +62,7 @@ struct aio_output {
|
||||
struct aio_threadinfo tinfo[3];
|
||||
aio_context_t ctxp;
|
||||
wait_queue_head_t fdsync_event;
|
||||
volatile bool fdsync_active;
|
||||
bool fdsync_active;
|
||||
// statistics
|
||||
atomic_t total_read_count;
|
||||
atomic_t total_write_count;
|
||||
|
@ -42,8 +42,8 @@ struct copy_mref_aspect {
|
||||
struct copy_brick {
|
||||
MARS_BRICK(copy);
|
||||
// parameters
|
||||
volatile loff_t copy_start;
|
||||
volatile loff_t copy_end; // stop working if == 0
|
||||
loff_t copy_start;
|
||||
loff_t copy_end; // stop working if == 0
|
||||
int io_prio;
|
||||
int append_mode; // 1 = passively, 2 = actively
|
||||
bool verify_mode;
|
||||
@ -55,8 +55,8 @@ struct copy_brick {
|
||||
bool low_dirty;
|
||||
bool is_aborting;
|
||||
// internal
|
||||
volatile bool trigger;
|
||||
volatile unsigned long clash;
|
||||
bool trigger;
|
||||
unsigned long clash;
|
||||
atomic_t io_flight;
|
||||
atomic_t copy_flight;
|
||||
long long last_jiffies;
|
||||
|
@ -56,7 +56,7 @@ struct mars_global {
|
||||
loff_t total_space;
|
||||
loff_t remaining_space;
|
||||
int global_version;
|
||||
volatile bool main_trigger;
|
||||
bool main_trigger;
|
||||
bool exhausted;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user