summaryrefslogblamecommitdiff
path: root/block/blk-ioprio.h
blob: 9265143f9bc9f9ad1cc686247be6312d273b0524 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                      
           

                               
                                       
     


                                                    


                           
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _BLK_IOPRIO_H_
#define _BLK_IOPRIO_H_

#include <linux/kconfig.h>

struct request_queue;
struct bio;

#ifdef CONFIG_BLK_CGROUP_IOPRIO
void blkcg_set_ioprio(struct bio *bio);
#else
static inline void blkcg_set_ioprio(struct bio *bio)
{
}
#endif

#endif /* _BLK_IOPRIO_H_ */