From: Nikolay Borisov <nborisov@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: Nikolay Borisov <nborisov@suse.com>
Subject: [PATCH 0/3] Refactor prealloc_file_extent_cluster
Date: Wed, 17 Jun 2020 12:10:41 +0300 [thread overview]
Message-ID: <20200617091044.27846-1-nborisov@suse.com> (raw)
Those 3 minor patches refactor prealloc_file_extent_cluster by:
1. Removing useless check
2. Re-order code around to make heavyweight operations outside of inode lock,
(not that it matters for performance) and also get rid of the out label
3. Switch a while to a for loop to make the loop intentino more explicit.
Nikolay Borisov (3):
btrfs: Remove hole check in prealloc_file_extent_cluster
btrfs: Perform data management operations outside of inode lock
btrfs: Use for loop in prealloc_file_extent_cluster
fs/btrfs/relocation.c | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
--
2.17.1
next reply other threads:[~2020-06-17 9:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 9:10 Nikolay Borisov [this message]
2020-06-17 9:10 ` [PATCH 1/3] btrfs: Remove hole check in prealloc_file_extent_cluster Nikolay Borisov
2020-06-17 12:57 ` Johannes Thumshirn
2020-06-17 16:22 ` David Sterba
2020-06-17 9:10 ` [PATCH 2/3] btrfs: Perform data management operations outside of inode lock Nikolay Borisov
2020-06-17 12:54 ` Johannes Thumshirn
2020-06-17 9:10 ` [PATCH 3/3] btrfs: Use for loop in prealloc_file_extent_cluster Nikolay Borisov
2020-06-17 13:02 ` Johannes Thumshirn
2020-06-17 13:18 ` Nikolay Borisov
2020-06-17 16:38 ` [PATCH 0/3] Refactor prealloc_file_extent_cluster David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200617091044.27846-1-nborisov@suse.com \
--to=nborisov@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox