{"push_id":1754560438,"size":22,"distinct_size":22,"ref":"refs/heads/for-next","head":"85cf202a035c55c6f00f9c5e43043da496e6062f","before":"b2ae5ee17467a4299975fbbc2cc2b7f0f2fb8f3d","commits":[{"sha":"9a09f7736aee528ff27390ac66d04e0254c69cf0","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"block: Introduce queue flag QUEUE_FLAG_SCSI_SUP\n\nFrom the context where a SCSI command is submitted it is not always\npossible to figure out whether or not the queue the command is\nsubmitted to has struct scsi_request as the first member of its\nprivate data. Hence introduce the flag QUEUE_FLAG_SCSI_SUP.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/9a09f7736aee528ff27390ac66d04e0254c69cf0"},{"sha":"ddeca5913445d9413442cd6f067cee9bfcf23899","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"bsg: Check queue type before attaching to a queue\n\nSince BSG only supports request queues for which struct scsi_request\nis the first member of their private request data, refuse to register\nblock layer queues for which struct scsi_request is not the first\nmember of their private data.\n\nReferences: commit bd1599d931ca (\"scsi_transport_sas: fix BSG ioctl memory corruption\")\nReferences: commit 82ed4db499b8 (\"block: split scsi_request out of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/ddeca5913445d9413442cd6f067cee9bfcf23899"},{"sha":"615c9ca36531355644cb119ec5a5efb885be7697","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"pktcdvd: Check queue type before attaching to a queue\n\nSince the pktcdvd driver only supports request queues for which\nstruct scsi_request is the first member of their private request\ndata, refuse to register block layer queues for which struct\nscsi_request is not the first member of the private data.\n\nReferences: commit 82ed4db499b8 (\"block: split scsi_request out of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/615c9ca36531355644cb119ec5a5efb885be7697"},{"sha":"7ae9a7706ef092d3aee4f06d146a9474f9d8792e","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"cdrom: Check private request size before attaching to a queue\n\nSince the cdrom driver only supports request queues for which\nstruct scsi_request is the first member of their private request\ndata, refuse to register block layer queues for which this is\nnot the case.\n\nReferences: commit 82ed4db499b8 (\"block: split scsi_request out of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/7ae9a7706ef092d3aee4f06d146a9474f9d8792e"},{"sha":"73ef1350720d1d34a2f0bfc4e92b3d4d8a5ee2be","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"nfsd: Check private request size before submitting a SCSI request\n\nSince using scsi_req() is only allowed against request queues for\nwhich struct scsi_request is the first member of their private\nrequest data, refuse to submit SCSI commands against a queue for\nwhich this is not the case.\n\nReferences: commit 82ed4db499b8 (\"block: split scsi_request out of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: J. Bruce Fields <bfields@fieldses.org>\nCc: Jeff Layton <jlayton@poochiereds.net>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-nfs@vger.kernel.org\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/73ef1350720d1d34a2f0bfc4e92b3d4d8a5ee2be"},{"sha":"933b70f6771f19d1c86d1fac22f602daf4f0ce49","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Make scsi_ioctl_reset() pass the request queue pointer to blk_rq_init()\n\nA later patch will add a call to a request initialization function\ninto blk_rq_init(). Hence make sure that all blk_rq_init() calls\nspecify the request queue pointer. Since TMF callback functions in\nSCSI LLD drivers do not use request.q, this patch does not change\nthe behavior of any SCSI driver.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/933b70f6771f19d1c86d1fac22f602daf4f0ce49"},{"sha":"78caadade0e10959155c7b56126d2e0aa73c5f32","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"block: Introduce request_queue.initialize_rq_fn()\n\nSeveral block drivers need to initialize the driver-private data\nafter having called blk_get_request() and before .prep_rq_fn() is\ncalled, e.g. when submitting a REQ_OP_SCSI_* request. Avoid that\nthat initialization code has to be repeated after every\nblk_get_request() call by adding a new callback function to struct\nrequest_queue.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/78caadade0e10959155c7b56126d2e0aa73c5f32"},{"sha":"2232c479934b2590c4e91ebe5bf4cdf975944011","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"block: Make scsi_req_init() calls implicit\n\nInstead of explicitly calling scsi_req_init(), let\nblk_get_request() call that function from inside blk_rq_init().\nAdd an .initialize_rq_fn() callback function to the block drivers\nthat need it. Merge the IDE .init_rq_fn() function into\n.initialize_rq_fn() because it is too small to keep it as a\nseparate function.\n\nReferences: commit 82ed4db499b8 (\"block: split scsi_request out of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Jens Axboe <axboe@fb.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Omar Sandoval <osandov@fb.com>\nCc: Hannes Reinecke <hare@suse.com>\nCc: linux-block@vger.kernel.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/2232c479934b2590c4e91ebe5bf4cdf975944011"},{"sha":"7d451be8b70d9b67f65cc175deff34b4fe7a3ce2","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Change argument type of scsi_req_init()\n\nSince scsi_req_init() works on a struct scsi_request, change the\nargument type into struct scsi_request *.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/7d451be8b70d9b67f65cc175deff34b4fe7a3ce2"},{"sha":"774122d88b75125e3dfbd00d20da7d0298d016c6","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Only add commands to the device command list if required by the LLD\n\nJust like for the scsi-mq code path, in the single queue SCSI code\npath only add commands to the per-device command list if required\nby the SCSI LLD. This patch will make it easier to merge the\nsingle-queue and multiqueue command initialization code.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/774122d88b75125e3dfbd00d20da7d0298d016c6"},{"sha":"5452e5b8e988cee30bea83609087e3c3b1f3e387","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Move most of scsi_init_command() into scsi_initialize_rq()\n\nMove the initializations that only have to be performed once and\nnot every time a request is prepared from scsi_init_command()\ninto scsi_initialize_rq(). This patch also moves the\njiffies_at_alloc assignment such that it gets back the meaning it\nhad before commit e9c787e65c0c, namely the value of the jiffies\ncounter at request allocation time.\n\nFixes: commit e9c787e65c0c (\"scsi: allocate scsi_cmnd structures as part of struct request\")\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.de>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/5452e5b8e988cee30bea83609087e3c3b1f3e387"},{"sha":"a03f6dfcf8251a75115acb78085d296f463cfebb","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Inline scsi_init_command()\n\nThe two drivers that use the per-device command list, namely aacraid\nand dpt_i2o, expect that that list contains only SCSI commands and\nno task management functions. Hence only call scsi_add_cmd_to_list()\nfrom the block layer prep callback functions and not from\nscsi_ioctl_reset().\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/a03f6dfcf8251a75115acb78085d296f463cfebb"},{"sha":"449f7da5c0d5943da2ba53188dbbe9d5bca40d14","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Move sense buffer pointer initialization into scsi_initialize_rq()\n\nThis patch is a preparation for the next patch that will zero\nthe struct scsi_request embedded in struct scsi_cmnd before\ncalling scsi_req_init().\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/449f7da5c0d5943da2ba53188dbbe9d5bca40d14"},{"sha":"5f1bde7cd4b02edd603c8ae962a75be641dd3184","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Make scsi_initialize_rq() zero the entire struct scsi_cmnd\n\nThis simplifies the memset() call in scsi_initialize_rq() and avoids\nthat any stale data is left behind in struct scsi_request.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/5f1bde7cd4b02edd603c8ae962a75be641dd3184"},{"sha":"10ec6ca172bd8a50a68eaeeb52c58c443ff39ffb","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi-mq: Make behavior scsi_mq_prep_fn() closer to that of scsi_prep_fn()\n\nInstead of clearing most of struct scsi_cmnd and reinitializing\nit, rely on scsi_initialize_rq() for initialization of struct\nscsi_cmnd. This patch fixes a bug, namely that it avoids that\njiffies_at_alloc gets overwritten if a request is requeued.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/10ec6ca172bd8a50a68eaeeb52c58c443ff39ffb"},{"sha":"e9741dd3b6026a3310b1177dfad7debb8f44d537","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi-sq: Clear driver-private data before calling .queuecommand()\n\nMove the code that clears the driver-private command data from\nscsi_mq_prep_fn() into scsi_dispatch_cmd() such that also for\nscsi-sq the driver-private command data is cleared before the\n.queuecommand() LLD callback function is called.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/e9741dd3b6026a3310b1177dfad7debb8f44d537"},{"sha":"87a5cde9c637d9fd12055efacbb92e8f13c031dd","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: Only clear driver-private command data for regular requests\n\nDriver-private command data is only used by LLDs while processing\nregular requests (submitted through .queuecommand()) but not when\nprocessing a task management function. Hence remove the code that\nclears driver-private command data from scsi_initialize_rq().\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/87a5cde9c637d9fd12055efacbb92e8f13c031dd"},{"sha":"c86a368440d6ff039fa83df34337f5bc0895f90e","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: snic: Remove code that zeroes driver-private command data\n\nSince a previous patch in this series added code for zeroing\ndriver-private command data to the SCSI core, remove the now\nduplicate code from the snic driver.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Narsimhulu Musini <nmusini@cisco.com>\nCc: Sesidhar Baddela <sebaddel@cisco.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/c86a368440d6ff039fa83df34337f5bc0895f90e"},{"sha":"706bbd0071f89cb77ce25e742a999778bd578827","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"scsi: virtio: Remove code that zeroes driver-private command data\n\nSince a previous patch in this series added code for zeroing\ndriver-private command data to the SCSI core, remove the now\nduplicate zeroing code from the virtio driver.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Michael S. Tsirkin <mst@redhat.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.com>","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/706bbd0071f89cb77ce25e742a999778bd578827"},{"sha":"ff5b17df63be286ac29262008fc32936cafdf9b5","author":{"name":"Bart Van Assche","email":"b8a13ad2fc8473e67a34a68acf4216fb1fa3477b@sandisk.com"},"message":"xen/scsifront: Remove code that zeroes driver-private command data\n\nSince a previous patch in this series added code for zeroing\ndriver-private command data to the SCSI core, remove the now\nduplicate zeroing code from the xen-scsifront driver.\n\nSigned-off-by: Bart Van Assche <bart.vanassche@sandisk.com>\nCc: Juergen Gross <jgross@suse.com>\nCc: xen-devel@lists.xenproject.org","distinct":true,"url":"https://api.github.com/repos/bvanassche/linux/commits/ff5b17df63be286ac29262008fc32936cafdf9b5"}]}
{"actor":{"display_login":"bvanassche"}}