From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2 2/2] Btrfs: compression must free at least PAGE_SIZE
Date: Mon, 22 May 2017 09:44:48 +0000 (UTC) [thread overview]
Message-ID: <pan$82fa9$cf229f14$ada082b4$d148da0c@cox.net> (raw)
In-Reply-To: CAGqmi76reKuyeOmmkjqpJdekjySN8rkE332aC5A4BgD0WHnJUw@mail.gmail.com
Timofey Titovets posted on Mon, 22 May 2017 01:32:21 +0300 as excerpted:
> 2017-05-21 20:30 GMT+03:00 Roman Mamedov <rm@romanrm.net>:
>> On Sun, 21 May 2017 19:54:05 +0300 Timofey Titovets
>> <nefelim4ag@gmail.com> wrote:
>>
>>> Sorry, but i know about subpagesize-blocksize patch set, but i don't
>>> understand where you see conflict?
>>>
>>> Can you explain what you mean?
>>>
>>> By PAGE_SIZE i mean fs cluster size in my patch set.
>>
>> This appears to be exactly the conflict. Subpagesize blocksize patchset
>> would make it possible to use e.g. Btrfs with 4K block (cluster) size
>> on a MIPS machine with 64K-sized pages. Would your checking for
>> PAGE_SIZE still be correct then?
>
> Nope
>> I guess Duncan's question was why not compare against block size from
>> the get go, rather than create more places for Chandan to scour through
>> to eliminate all "blocksize = pagesize" assumptions...
> - If I try to export sector size to compression code, [...]
> it's convert small patch in a big patch series, and you know whats
> happens with big patch series...
Good point...
> - AFAIK in V21 subpage patch set compression on machines with 64KiB
> doesn't work as expected [1].
> So, subpage patch series for compression code should reworked,
> doesn't matter will my patches merged or not.
I guess I'd just like to have Chandan's input here too. It sounds like
it shouldn't be too much more to deal with given the size and complexity
of that set already, but just to know that he's aware of the it and that
it's coordinated there so as not to just be making that journey
unnecessarily harder than it is already.
[Not that I as a non-dev can really say anything, but it can't /hurt/ to
already have his ack, when this gets reviewed by those whose decision
/does/ count.]
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2017-05-22 9:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-20 16:49 [PATCH v2 0/2] Btrfs: compression fixes Timofey Titovets
2017-05-20 16:49 ` [PATCH v2 1/2] Btrfs: lzo.c pr_debug() deflate->lzo Timofey Titovets
2017-05-20 16:49 ` [PATCH v2 2/2] Btrfs: compression must free at least PAGE_SIZE Timofey Titovets
2017-05-20 17:14 ` Kai Krakow
2017-05-20 18:30 ` Timofey Titovets
2017-05-21 1:38 ` Duncan
2017-05-21 16:54 ` Timofey Titovets
2017-05-21 17:30 ` Roman Mamedov
2017-05-21 22:32 ` Timofey Titovets
2017-05-22 9:44 ` Duncan [this message]
2017-05-23 6:05 ` kbuild test robot
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='pan$82fa9$cf229f14$ada082b4$d148da0c@cox.net' \
--to=1i5t5.duncan@cox.net \
--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;
as well as URLs for NNTP newsgroup(s).