Re: [PATCH] Also call destroy_rcu_head() for passthrough requests

2019-03-19 Thread Martin K. Petersen
Bart, > cmd->rcu is initialized by scsi_initialize_rq(). For passthrough > requests, blk_get_request() calls scsi_initialize_rq(). For filesystem > requests, scsi_init_command() calls scsi_initialize_rq(). Make sure > that destroy_rcu_head() is called for passthrough requests. Applied to 5.1/sc

Re: [PATCH] Also call destroy_rcu_head() for passthrough requests

2019-03-18 Thread Hannes Reinecke
On 3/18/19 5:29 PM, Bart Van Assche wrote: cmd->rcu is initialized by scsi_initialize_rq(). For passthrough requests, blk_get_request() calls scsi_initialize_rq(). For filesystem requests, scsi_init_command() calls scsi_initialize_rq(). Make sure that destroy_rcu_head() is called for passthrough

[PATCH] Also call destroy_rcu_head() for passthrough requests

2019-03-18 Thread Bart Van Assche
cmd->rcu is initialized by scsi_initialize_rq(). For passthrough requests, blk_get_request() calls scsi_initialize_rq(). For filesystem requests, scsi_init_command() calls scsi_initialize_rq(). Make sure that destroy_rcu_head() is called for passthrough requests. Cc: Christoph Hellwig Cc: Hannes