Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp56154pxk; Tue, 8 Sep 2020 21:46:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNYG48bjcMKOfVD2k/vpIf1ZTSAiYKLw6DdztzJj9Ym5F4Rve8Y+2MEoDuJe53j+naqXt3 X-Received: by 2002:aa7:d959:: with SMTP id l25mr2183737eds.383.1599626817164; Tue, 08 Sep 2020 21:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599626817; cv=none; d=google.com; s=arc-20160816; b=MY02AJkNJ0LSSpchjdkWa6YHl9rTY3/CzOB5AiMCwFz33klQdByhP3tZo3bscdFkB5 YNXjfTAQUESxdFNMZiKXD8xFWHchMx2i9LoMIH4ay9AIDrVFHlSFLqXe2H0e4mnPRHNu m8tIvu6qpSEwu0oEi6LbK/qZYzoo3DaVmOLwty1xXxnHNVgNArqlz03Q8msFzgAMqAMc 0Rl6f0aFRkJTboKH32s9qWjYebMjMRs67EnA7M4O1HMqD8Ws0E++I7T7bBsG9EkmwrTW uTzdwxuUNw7VBl3cCAOTBSv302vVtnKdbKJVo3R39VxNhs9WOO+wM2wQgGpRtMgK5ep9 Czng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=+Frc88nWVxqOgZCPp9FgZZwYWNAXmlsLlRS79TyYt+k=; b=lQp32Y0KA1uaiOdWrr6faFiH5AAAbixJk071V8dXtfsafvPK/YNQdFu1tUj0dBLXqi +CP633PKpEKGo48WxegalCZ59jiM5cb6YG703KTRfcmatdm3Oj5mcGw8xKcntnaFfsgo 5a03LbawxJKH0sanqFi/lS8Y/G4EhFMi6JNt3ZgE3+AcA+6JJWtlEm9uzNfaw9yFLLtA Jb2IXIpBgaN5WGUy6WuwDJGnoe0F+B5eqb/3bYKk4un63NGH0mdToVQXuZPJppQey/9h ilBGBfcRoVyl3X2uHWGAjwGxvr4aqTgFUxaHVeQ0coeat4jyq79R8+m0xeD2UfUgVLIG ImOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dwg59ndA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si749453eji.462.2020.09.08.21.46.34; Tue, 08 Sep 2020 21:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dwg59ndA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725917AbgIIEnu (ORCPT + 99 others); Wed, 9 Sep 2020 00:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgIIEnt (ORCPT ); Wed, 9 Sep 2020 00:43:49 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8738DC061573 for ; Tue, 8 Sep 2020 21:43:48 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id x69so870461lff.3 for ; Tue, 08 Sep 2020 21:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+Frc88nWVxqOgZCPp9FgZZwYWNAXmlsLlRS79TyYt+k=; b=Dwg59ndAo9mc/agQv3gjaaTTTXm3bY9/MK2VVav9f0jLsrFgS/IgWdT3iXx9vNbh/Y +pD/8Ke6jvFKF5u96ZWQ2R+DPbXrG6/LCJ8pe/jvzVdDJhu8JFJvR/ka67UZ29NH76WS bWKLCGHBIw4/FM6iWwPx18/5ggjzH0i97eBmnIynlOwW6PejaXL+kcg9D6Nwx+BOcgFM pK4kFThqV7gh7UDqd+swg/j5b15CVGpXICFdV9RsyHPS8Q65JiUsRs/LdkU17Qy+z2MU lNwSP/MvzQ1AgovvvneyL66HhyeHVXIApzwakXQH4c2Gfk0P1M8UUmZ9UtP0YvOCdJGO uU0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+Frc88nWVxqOgZCPp9FgZZwYWNAXmlsLlRS79TyYt+k=; b=rXaeMcXycDANyzoEVmQI6wVICwwMG5ZhWQ1oK/UNqVu2YvhTJHRabrpmZcYfGxFMu8 Dh9SOcfi5JbuNJnquWVX21fRlBkFoN5kiDa85I4us3gtUKho+8TzTZ6uNnnKu+qHQGbb T3sjvfUgMcJtuy8pJ/sXI7TTUdtXy7HQHP+E3ocX4VjbZXs4EllrlGwA5fzA+SgFpVgR dMSk/y6CwB8HhhGEG954vzdf/HOEniFfvs4xNYUkyvMBP2nkvAWC1slPEKB7h2vvhaT5 9Jpb7xuuN3DqWCldWiiv+1mYbm1alq2wnRHIJyyY8mKznBetDaOYopZjzHYXoD4up/TA 38AQ== X-Gm-Message-State: AOAM532B1MrUNnw9C4xx8QAGfXgcvvKGEBVFBINNW0oqUZbT1365BEJb TNUOIEIUq5mFlN0Yt6MBjNLy7S4cVbtT4mKAo665JE5afgw= X-Received: by 2002:ac2:5a5d:: with SMTP id r29mr1024362lfn.131.1599626626396; Tue, 08 Sep 2020 21:43:46 -0700 (PDT) MIME-Version: 1.0 From: Daeho Jeong Date: Wed, 9 Sep 2020 13:43:35 +0900 Message-ID: Subject: Question about STEP_DECOMPRESS_NOWQ To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chao, I have a question about the below flag for decompression. STEP_DECOMPRESS_NOWQ, /* handle normal cluster data inplace */ According to the comment, you added this for using inplace decompression but inplace decompression mode is not being activated now, since we are setting STEP_DECOMPRESS right after bio_add_page(). if (bio_add_page(bio, page, blocksize, 0) < blocksize) goto submit_and_realloc; /* tag STEP_DECOMPRESS to handle IO in wq */ ctx = bio->bi_private; if (!(ctx->enabled_steps & (1 << STEP_DECOMPRESS))) ctx->enabled_steps |= 1 << STEP_DECOMPRESS; Did you mean to deactivate inplace decompression mode on purpose, since it had an issue? I am a little bit confused about this.