> +static inline bool
> +page_is_mergeable(const struct bio_vec *bv, struct page *page,
> +             unsigned int len, unsigned int off, bool same_page)

Please follow the other function declarations in this file:

static inline bool page_is_mergeable(const struct bio_vec *bv,
                struct page *page, unsigned int len, unsigned int off,
                bool same_page)

> +     if (same_page && (vec_end_addr & PAGE_MASK) != page_addr)
> +             return false;

No need for the inner braces here.

Otherwis this looks good to me.

Reply via email to