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

Minwoo Im
2019-06-27T10:22:24Z

On 19-06-27 10:27:59, Christoph Hellwig wrote:
> 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.

Christoph,

Thanks for letting me know this.