Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • linux
  • blkdev.h
Find file BlameHistoryPermalink
  • Christoph Hellwig's avatar
    block: pass a queue_limits argument to blk_alloc_disk · 74fa8f9c
    Christoph Hellwig authored Feb 15, 2024
    
    
    Pass a queue_limits to blk_alloc_disk and apply it if non-NULL.  This
    will allow allocating queues with valid queue limits instead of setting
    the values one at a time later.
    
    Also change blk_alloc_disk to return an ERR_PTR instead of just NULL
    which can't distinguish errors.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarDan Williams <dan.j.williams@intel.com>
    Reviewed-by: default avatarHimanshu Madhani <himanshu.madhani@oracle.com>
    Link: https://lore.kernel.org/r/20240215071055.2201424-2-hch@lst.de
    
    
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    74fa8f9c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7