|
@@ -514,6 +514,7 @@ int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg);
|
|
|
int bio_associate_blkg_from_css(struct bio *bio,
|
|
|
struct cgroup_subsys_state *css);
|
|
|
int bio_associate_create_blkg(struct request_queue *q, struct bio *bio);
|
|
|
+int bio_reassociate_blkg(struct request_queue *q, struct bio *bio);
|
|
|
void bio_disassociate_task(struct bio *bio);
|
|
|
void bio_clone_blkg_association(struct bio *dst, struct bio *src);
|
|
|
#else /* CONFIG_BLK_CGROUP */
|
|
@@ -522,6 +523,8 @@ static inline int bio_associate_blkg_from_css(struct bio *bio,
|
|
|
{ return 0; }
|
|
|
static inline int bio_associate_create_blkg(struct request_queue *q,
|
|
|
struct bio *bio) { return 0; }
|
|
|
+static inline int bio_reassociate_blkg(struct request_queue *q, struct bio *bio)
|
|
|
+{ return 0; }
|
|
|
static inline void bio_disassociate_task(struct bio *bio) { }
|
|
|
static inline void bio_clone_blkg_association(struct bio *dst,
|
|
|
struct bio *src) { }
|