diff options
author | Pankaj Gupta <pankaj.gupta@cloud.ionos.com> | 2020-11-11 08:16:56 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-11-30 21:12:34 +0300 |
commit | 81ba3c24628c14eb869d81652dbaf50640d8cc24 (patch) | |
tree | 813930eff6bc1ace4073bb1fba0aa68c06462545 /drivers/md/md.h | |
parent | 93decc563637c4288380912eac0eb42fb246cc04 (diff) | |
download | linux-81ba3c24628c14eb869d81652dbaf50640d8cc24.tar.xz |
md: improve variable names in md_flush_request()
This patch improves readability by using better variable names
in flush request coalescing logic.
Signed-off-by: Pankaj Gupta <pankaj.gupta@cloud.ionos.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index ccfb69868c2e..2292c847f9dd 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -495,9 +495,9 @@ struct mddev { */ struct bio *flush_bio; atomic_t flush_pending; - ktime_t start_flush, last_flush; /* last_flush is when the last completed - * flush was started. - */ + ktime_t start_flush, prev_flush_start; /* prev_flush_start is when the previous completed + * flush was started. + */ struct work_struct flush_work; struct work_struct event_work; /* used by dm to report failure event */ mempool_t *serial_info_pool; |