Re: [PATCH 2/9] block: optionally mark pages dirty in bio_release_pages

Christoph Hellwig
2019-06-27T08:28:32Z

On Thu, Jun 27, 2019 at 05:52:47AM +0900, Minwoo Im wrote:
> Could you please explain a bit why we should not make it dirty in case
> of compound page?

PageCompount is only true for the tail pages, and marking them dirty
doesn't work. On the other hand marking the head page dirty covers
the whole compount, so we are fine.