On Fri, Nov 25, 2022 at 11:36:14AM +0800, Chao Yu wrote:
> On 2022/10/29 1:58, Eric Biggers wrote:
> > @@ -116,43 +116,51 @@ struct bio_post_read_ctx {
> >     struct f2fs_sb_info *sbi;
> >     struct work_struct work;
> >     unsigned int enabled_steps;
> > +   bool decompression_attempted;
> 
> How about adding some comments for decompression_attempted? Otherwise it
> looks good to me.
> 

I added the following:

        /*
         * decompression_attempted keeps track of whether
         * f2fs_end_read_compressed_page() has been called on the pages in the
         * bio that belong to a compressed cluster yet.
         */

- Eric


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to