Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1811374imm; Thu, 12 Jul 2018 08:11:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpec3iJisYOqewawbHXSEx2TrkMn3rQaUuzjG05OPNIoMJefwRWxSCAy7n5EvHGqk4OiCgpb X-Received: by 2002:aa7:8713:: with SMTP id b19-v6mr2830381pfo.151.1531408305217; Thu, 12 Jul 2018 08:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531408305; cv=none; d=google.com; s=arc-20160816; b=bLJ7E6oYNKMuTf0+LrdHY4ofBDgcZ+gHWKpGIK546EPZ1NNDfDOUAZTkAHk8oka/oX Wy2u771hteyjW4aMQC8/XbE3mv6MRNbe9IWdqmDVN7IwGuwHPcX01sLT5iaAJM+dpnFG 70viuk5DVN9FqNJLjPEXAsvJR50dCOuB14bisN/etCk6ueUkICCUIqbpdJ1Qx7zObEtE 6xSafWA7foUnq0/ycYg/AZ+0+Sz/1WvLpBpL6HZ3gtSm9/XGruEy0QUn92BMOqBk1hmr JLAeII+iygvt/1AKKn2UwJCzXmLJRC6HBhkF+FMY73R5WZft/K6gKIt5wP7RaARQZW0Q axbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=DOXDwwZu3m+VAIOLvn64q1TyoaX8w5KGtyf6LQ89cpc=; b=eCeTD07kEFYRR/L1XfNJFpSazkYEsSlBTtHZNwCk/4N5DqIL7ydclhN56ggQOEBVNM wTNp1BtyJ2sDV/2lkAfpMhRGSCVbE48s9OjyoT37UP/5YARMTyxW1Jx63oo/fvuTDoS+ KZvAEgGd47TBA2EvZHCk/aYXiUIirW4gxFm7/6ZDr9fwwYxR1WNsPTDXnEYjUBd30of/ GRIJfdJUPsGWSBNpJqhNuZV7vA5+C3xrBky5GrF7igezGiGb6UEZZDkHERDTZjmZlYGl 2yPxNBAx0VT0/gs8Uke73NyIgUQNHqNpFf9nO54d4awl8M9lAe/N8w0v4VoTH6s3zVTx 4e1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8-v6si19941861pgq.432.2018.07.12.08.11.13; Thu, 12 Jul 2018 08:11:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732600AbeGLPUB (ORCPT + 99 others); Thu, 12 Jul 2018 11:20:01 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9177 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732319AbeGLPUB (ORCPT ); Thu, 12 Jul 2018 11:20:01 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 9FE783073F838; Thu, 12 Jul 2018 23:09:44 +0800 (CST) Received: from huawei.com (10.113.189.234) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.382.0; Thu, 12 Jul 2018 23:09:38 +0800 From: Yunlong Song To: , , , , CC: , , , , , Subject: [PATCH 0/5] f2fs: fix some bugs in lfs mode with large section Date: Thu, 12 Jul 2018 23:09:25 +0800 Message-ID: <1531408170-45758-1-git-send-email-yunlong.song@huawei.com> X-Mailer: git-send-email 1.8.5.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.113.189.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org f2fs has some bugs in section:segment > 1 and lfs mode, so fix them. Yunlong Song (5): f2fs: do not set free of current section f2fs: clear the remaining prefree_map of the section f2fs: blk_finish_plug of submit_bio in lfs mode f2fs: disable small discard in lfs mode f2fs: do not __punch_discard_cmd in lfs mode fs/f2fs/data.c | 2 +- fs/f2fs/segment.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++------ fs/f2fs/segment.h | 10 +++++- fs/f2fs/sysfs.c | 4 +++ 4 files changed, 102 insertions(+), 12 deletions(-) -- 1.8.5.2