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
  • io_uring
  • filetable.c
Find file BlameHistoryPermalink
  • Pavel Begunkov's avatar
    io_uring: let to set a range for file slot allocation · 6e73dffb
    Pavel Begunkov authored Jun 25, 2022
    
    
    From recently io_uring provides an option to allocate a file index for
    operation registering fixed files. However, it's utterly unusable with
    mixed approaches when for a part of files the userspace knows better
    where to place it, as it may race and users don't have any sane way to
    pick a slot and hoping it will not be taken.
    
    Let the userspace to register a range of fixed file slots in which the
    auto-allocation happens. The use case is splittting the fixed table in
    two parts, where on of them is used for auto-allocation and another for
    slot-specified operations.
    
    Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
    Link: https://lore.kernel.org/r/66ab0394e436f38437cf7c44676e1920d09687ad.1656154403.git.asml.silence@gmail.com
    
    
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6e73dffb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7