Здравствуйте! Вас интересуют клиентские базы данных? Ответ на Email: prodawez...@gmail.com

2017-07-26 Thread fxuqzmyzswnaavalinux-bt...@vger.kernel.org
Здравствуйте! Вас интересуют клиентские базы данных? Ответ на Email: prodawez...@gmail.com

Re: [PATCH 1/3] btrfs-progs: convert: properly handle reserved ranges while iterating files

2017-07-26 Thread Qu Wenruo
On 2017年07月26日 04:54, je...@suse.com wrote: From: Jeff Mahoney Commit 522ef705e38 (btrfs-progs: convert: Introduce function to calculate the available space) changed how we handle migrating file data so that we never have btrfs space associated with the reserved ranges. This

Re: btrfs raid assurance

2017-07-26 Thread Hugo Mills
On Wed, Jul 26, 2017 at 08:36:54AM -0400, Austin S. Hemmelgarn wrote: > On 2017-07-26 08:27, Hugo Mills wrote: > >On Wed, Jul 26, 2017 at 08:12:19AM -0400, Austin S. Hemmelgarn wrote: > >>On 2017-07-25 17:45, Hugo Mills wrote: > >>>On Tue, Jul 25, 2017 at 11:29:13PM +0200, waxhead wrote: > >

*3qрaвствyйте! Baс uнтересyют клuентскuе бaзы qaнныx?

2017-07-26 Thread znbrmwhrwnmasmozlinux-bt...@vger.kernel.org
*Здpавcmвуйmе! Bаc uнmеpеcуюm kлuенmckuе 6азы данныx? N�r��yb�X��ǧv�^�)޺{.n�+{�n�߲)w*jg����ݢj/���z�ޖ��2�ޙ&�)ߡ�a�����G���h��j:+v���w��٥

[PATCH] btrfs: Remove extra parentheses from condition in copy_items()

2017-07-26 Thread Matthias Kaehlcke
There is no need for the extra pair of parentheses, remove it. This fixes the following warning when building with clang: fs/btrfs/tree-log.c:3694:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == (nr - 1)))

Re: [PATCH v2] Btrfs: Do not use data_alloc_cluster in ssd mode

2017-07-26 Thread Hans van Kranenburg
Ah, great, while doing the last git format-patch, my earlier written changes since v1 were lost again: Changes since v1: * Keep ssd_spread behaviour unchanged * Add summary at the beginning of the commit message Thanks, On 07/26/2017 09:59 PM, Hans van Kranenburg wrote: > The purpose of

[PATCH v2] Btrfs: Do not use data_alloc_cluster in ssd mode

2017-07-26 Thread Hans van Kranenburg
The purpose of this patch is providing a band aid to improve the 'out of the box' behaviour of btrfs for disks that are detected as being an ssd. In a general purpose mixed workload scenario, the current ssd mode causes overallocation of available raw disk space for data, while leaving behind

Re: [PATCH] btrfs: Make flush_space return void

2017-07-26 Thread David Sterba
On Tue, Jul 25, 2017 at 05:48:28PM +0300, Nikolay Borisov wrote: > The return value of flush_space was used to have significance in the early > days > when the code was first introduced and before the ticketed enospc rework. > Since > the latter got introduced the return value lost any

Re: [PATCH v2] btrfs: Deprecate userspace transaction ioctls

2017-07-26 Thread David Sterba
On Wed, Jul 26, 2017 at 11:26:28AM +0300, Nikolay Borisov wrote: > Userspace transactions were introduced in commit > 6bf13c0cc833 ("Btrfs: transaction ioctls") to provide semantics that Ceph's > object store required. However, things have changed significantly since then, > to the point where

Re: write corruption due to bio cloning on raid5/6

2017-07-26 Thread Liu Bo
On Mon, Jul 24, 2017 at 10:22:53PM +0200, Janos Toth F. wrote: > I accidentally ran into this problem (it's pretty silly because I > almost never run RC kernels or do dio writes but somehow I just > happened to do both at once, exactly before I read your patch notes). > I didn't initially catch

Re: [PATCH v2] btrfs: Deprecate userspace transaction ioctls

2017-07-26 Thread David Sterba
On Wed, Jul 26, 2017 at 11:26:28AM +0300, Nikolay Borisov wrote: > Userspace transactions were introduced in commit > 6bf13c0cc833 ("Btrfs: transaction ioctls") to provide semantics that Ceph's > object store required. However, things have changed significantly since then, > to the point where

Re: [PATCH] Btrfs: Do not use data_alloc_cluster in ssd mode

2017-07-26 Thread David Sterba
On Mon, Jul 24, 2017 at 02:53:52PM -0400, Chris Mason wrote: > On 07/24/2017 02:41 PM, David Sterba wrote: > > On Mon, Jul 24, 2017 at 02:01:07PM -0400, Chris Mason wrote: > >> On 07/24/2017 10:25 AM, David Sterba wrote: > >> > >>> Thanks for the extensive historical summary, this change really

Re: [PATCH 5/7] btrfs-progs: backref: add list_first_pref helper

2017-07-26 Thread Jeff Mahoney
On 7/26/17 9:22 AM, Jeff Mahoney wrote: > On 7/26/17 3:08 AM, Nikolay Borisov wrote: >> >> >> On 25.07.2017 23:51, je...@suse.com wrote: >>> From: Jeff Mahoney >>> >>> --- >>> backref.c | 11 +++ >>> 1 file changed, 7 insertions(+), 4 deletions(-) >>> >>> diff --git

Re: [PATCH 5/7] btrfs-progs: backref: add list_first_pref helper

2017-07-26 Thread Jeff Mahoney
On 7/26/17 3:08 AM, Nikolay Borisov wrote: > > > On 25.07.2017 23:51, je...@suse.com wrote: >> From: Jeff Mahoney >> >> --- >> backref.c | 11 +++ >> 1 file changed, 7 insertions(+), 4 deletions(-) >> >> diff --git a/backref.c b/backref.c >> index ac1b506..be3376a

Re: [PATCH 3/7] btrfs-progs: extent-cache: actually cache extent buffers

2017-07-26 Thread Jeff Mahoney
On 7/26/17 3:00 AM, Nikolay Borisov wrote: > > > On 25.07.2017 23:51, je...@suse.com wrote: >> From: Jeff Mahoney >> >> We have the infrastructure to cache extent buffers but we don't actually >> do the caching. As soon as the last reference is dropped, the buffer >> is

[PATCH v2 2/3] Btrfs: heuristic add byte set calculation

2017-07-26 Thread Timofey Titovets
Calculate byte set size for data sample: Calculate how many unique bytes has been in sample By count all bytes in bucket with count > 0 If byte set low (~25%), data are easily compressible Signed-off-by: Timofey Titovets --- fs/btrfs/compression.c | 27

[PATCH v2 3/3] Btrfs: heuristic add byte core set calculation

2017-07-26 Thread Timofey Titovets
Calculate byte core set for data sample: Sort bucket's numbers in decreasing order Count how many numbers use 90% of sample If core set are low (<=25%), data are easily compressible If core set high (>=80%), data are not compressible Signed-off-by: Timofey Titovets ---

[PATCH v2 1/3] Btrfs: heuristic add simple sampling logic

2017-07-26 Thread Timofey Titovets
Get small sample from input data and calculate byte type count for that sample into bucket. Bucket will store info about which bytes and how many has been detected in sample Signed-off-by: Timofey Titovets --- fs/btrfs/compression.c | 24 ++--

[PATCH v2 0/3] Btrfs: populate heuristic with detection logic

2017-07-26 Thread Timofey Titovets
Based on kdave for-next As heuristic skeleton already merged Populate heuristic with basic code. First patch: add simple sampling code It's get 16 byte samples with 256 bytes shifts over input data. Collect info about how many different bytes (symbols) has been found in sample data Second patch:

Re: btrfs raid assurance

2017-07-26 Thread Austin S. Hemmelgarn
On 2017-07-26 08:27, Hugo Mills wrote: On Wed, Jul 26, 2017 at 08:12:19AM -0400, Austin S. Hemmelgarn wrote: On 2017-07-25 17:45, Hugo Mills wrote: On Tue, Jul 25, 2017 at 11:29:13PM +0200, waxhead wrote: Hugo Mills wrote: You can see about the disk usage in different scenarios with

Re: btrfs raid assurance

2017-07-26 Thread Hugo Mills
On Wed, Jul 26, 2017 at 12:27:20PM +, Hugo Mills wrote: > On Wed, Jul 26, 2017 at 08:12:19AM -0400, Austin S. Hemmelgarn wrote: > > On 2017-07-25 17:45, Hugo Mills wrote: > > >On Tue, Jul 25, 2017 at 11:29:13PM +0200, waxhead wrote: > > >> > > >> > > >>Hugo Mills wrote: > > >>> > > >

Re: btrfs raid assurance

2017-07-26 Thread Hugo Mills
On Wed, Jul 26, 2017 at 08:12:19AM -0400, Austin S. Hemmelgarn wrote: > On 2017-07-25 17:45, Hugo Mills wrote: > >On Tue, Jul 25, 2017 at 11:29:13PM +0200, waxhead wrote: > >> > >> > >>Hugo Mills wrote: > >>> > >You can see about the disk usage in different scenarios with the > >online

Re: btrfs raid assurance

2017-07-26 Thread Austin S. Hemmelgarn
On 2017-07-25 17:45, Hugo Mills wrote: On Tue, Jul 25, 2017 at 11:29:13PM +0200, waxhead wrote: Hugo Mills wrote: You can see about the disk usage in different scenarios with the online tool at: http://carfax.org.uk/btrfs-usage/ Hugo. As a side note, have you ever considered

[PATCH v2] btrfs: Deprecate userspace transaction ioctls

2017-07-26 Thread Nikolay Borisov
Userspace transactions were introduced in commit 6bf13c0cc833 ("Btrfs: transaction ioctls") to provide semantics that Ceph's object store required. However, things have changed significantly since then, to the point where btrfs is no longer suitable as a backend for ceph and in fact it's actively

Re: [PATCH 5/7] btrfs-progs: backref: add list_first_pref helper

2017-07-26 Thread Nikolay Borisov
On 25.07.2017 23:51, je...@suse.com wrote: > From: Jeff Mahoney > > --- > backref.c | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/backref.c b/backref.c > index ac1b506..be3376a 100644 > --- a/backref.c > +++ b/backref.c > @@ -130,6

Re: [PATCH 3/7] btrfs-progs: extent-cache: actually cache extent buffers

2017-07-26 Thread Nikolay Borisov
On 25.07.2017 23:51, je...@suse.com wrote: > From: Jeff Mahoney > > We have the infrastructure to cache extent buffers but we don't actually > do the caching. As soon as the last reference is dropped, the buffer > is dropped. This patch keeps the extent buffers around until