ANDROID: block: Prepare for preserving the zoned write order
This patch does not change any functionality. This patch is a subset of the following patch that is expected to be merged upstream soon: https://lore.kernel.org/linux-block/20230407235822.1672286-3-bvanassche@acm.org/ Bug: 275581839 Bug: 277112517 Change-Id: I717d1c78233b92fd18297c81ef15335684da5d54 Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
parent
16107fbbff
commit
f54a58c7d1
1 changed files with 11 additions and 15 deletions
|
|
@ -173,23 +173,19 @@ struct request {
|
|||
|
||||
|
||||
/*
|
||||
* Three pointers are available for the IO schedulers, if they need
|
||||
* more they have to dynamically allocate it. Flush requests are
|
||||
* never put on the IO scheduler. So let the flush fields share
|
||||
* space with the elevator data.
|
||||
* Three pointers are available for IO schedulers. If they need
|
||||
* more private data they have to allocate it dynamically.
|
||||
*/
|
||||
union {
|
||||
struct {
|
||||
struct io_cq *icq;
|
||||
void *priv[2];
|
||||
} elv;
|
||||
struct {
|
||||
struct io_cq *icq;
|
||||
void *priv[2];
|
||||
} elv;
|
||||
|
||||
struct {
|
||||
unsigned int seq;
|
||||
struct list_head list;
|
||||
rq_end_io_fn *saved_end_io;
|
||||
} flush;
|
||||
};
|
||||
struct {
|
||||
unsigned int seq;
|
||||
struct list_head list;
|
||||
rq_end_io_fn *saved_end_io;
|
||||
} flush;
|
||||
|
||||
union {
|
||||
struct __call_single_data csd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue