Lines Matching defs:discard_policy
315 struct discard_policy { struct
316 int type; /* type of discard */
317 unsigned int min_interval; /* used for candidates exist */
318 unsigned int mid_interval; /* used for device busy */
319 unsigned int max_interval; /* used for candidates not exist */
320 unsigned int max_requests; /* # of discards issued per round */
321 unsigned int io_aware_gran; /* minimum granularity discard not be aware of I/O */
322 bool io_aware; /* issue discard in idle time */
323 bool sync; /* submit discard with REQ_SYNC flag */
324 bool ordered; /* issue discard by lba order */
325 unsigned int granularity; /* discard granularity */
326 int timeout; /* discard timeout for put_super */