gsched: modernize or remove?

2019-12-27 Thread Alexander Motin
moving providers between unaware geoms. So my question is: does it make sense to try fix/modernize it, or it just be easier to remove it? Does anybody still use it, or see some future for it? -- Alexander Motin ___ freebsd-geom@freebsd.org mailing

Re: about zfs and ashift and changing ashift on existing zpool

2019-04-08 Thread Alexander Motin
ll most likely result in breaking compatibility and inability to read previously written data. ZFS already uses physical block size when possible -- on pool creation or new vdev addition. When not possible (pool already created wrong) it just complains about it, so that user would know that his config

Re: biodone vs geom_up

2014-10-07 Thread Alexander Motin
27;t see much other checks for BIO_DONE, so I would guess it should not be a problem. Any way, unlocked BIO_DONE setting there should be pointless or at least unreliable, except may be for some debugging. -- Alexander Motin ___ freebsd-geom@freebsd.org

Re: g_mirror_access() dropping geom topology_lock [Was: Kernel crash trying to import a ZFS pool with log device]

2014-03-21 Thread Alexander Motin
esent in GRAID. AFAIR the problem is in keeping lock order between GEOM topology lock and class' own lock. The only "excuse" is that it is not very reasonable to have ZFS on top of GMIRROR or GRAID. -- Alexander Motin ___ freebsd-geom@fr

Re: 3rd party geom module on 10-STABLE cause panics in biodone()

2014-02-25 Thread Alexander Motin
may cause incorrect combination of BIO flags and addresses. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-10-07 Thread Alexander Motin
On 07.10.2013 19:09, John Baldwin wrote: On Sunday, October 06, 2013 3:30:42 am Alexander Motin wrote: On 02.10.2013 20:30, John Baldwin wrote: On Saturday, September 07, 2013 2:32:45 am Alexander Motin wrote: On 07.09.2013 02:02, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 11:29:11AM

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-10-06 Thread Alexander Motin
On 02.10.2013 20:30, John Baldwin wrote: On Saturday, September 07, 2013 2:32:45 am Alexander Motin wrote: On 07.09.2013 02:02, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 11:29:11AM +0300, Alexander Motin wrote: On 06.09.2013 11:06, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 12:46:27AM

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-06 Thread Alexander Motin
On 07.09.2013 02:02, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 11:29:11AM +0300, Alexander Motin wrote: On 06.09.2013 11:06, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 12:46:27AM +0200, Olivier Cochard-Labbé wrote: On Thu, Sep 5, 2013 at 11:38 PM, Alexander Motin wrote: I've

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-06 Thread Alexander Motin
On 06.09.2013 11:06, Jeremie Le Hen wrote: On Fri, Sep 06, 2013 at 12:46:27AM +0200, Olivier Cochard-Labbé wrote: On Thu, Sep 5, 2013 at 11:38 PM, Alexander Motin wrote: I've found and fixed possible double request completion, that could cause such symptoms if happened. Updated patch lo

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-05 Thread Alexander Motin
On 04.09.2013 19:31, Olivier Cochard-Labbé wrote: On Wed, Sep 4, 2013 at 9:01 AM, Alexander Motin wrote: - HP EliteBook 8460p (amd64: r255188) with DVD replaced by a second hardrive (where fbsd is installed): It crash just after the message "GEOM: new disk ada1" during boot scr

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-04 Thread Alexander Motin
On 04.09.2013 15:45, Nathan Whitehorn wrote: On 09/04/13 02:01, Alexander Motin wrote: On 04.09.2013 00:48, Olivier Cochard-Labbé wrote: On Tue, Sep 3, 2013 at 8:10 PM, Outback Dingo wrote: Can anyone confirm how well tested/stable this patch set might be?? if theres positive input i have a

Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-04 Thread Alexander Motin
to some GEOM class. Could you describe/show all GEOM topology, file systems, etc. you have there? gpart show sysctl kern.geom.confxml ... Thank you! -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman

[RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-02 Thread Alexander Motin
ed by iXsystems, Inc. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: devstat overhead VS precision

2013-04-15 Thread Alexander Motin
On 15.04.2013 23:43, Poul-Henning Kamp wrote: In message <516c515a.9090...@freebsd.org>, Alexander Motin writes: I propose to switch that statistics from using binuptime() to getbinuptime() to solve the problem globally. No objections here, but I wonder if you were able to compa

Re: devstat overhead VS precision

2013-04-15 Thread Alexander Motin
On 15.04.2013 21:42, Pawel Jakub Dawidek wrote: On Sat, Apr 13, 2013 at 12:59:49PM +0300, Alexander Motin wrote: Hi. It is long known that collecting disk and GEOM statistics may cause significant processing overhead under high IOPS. On my recent high-IOPS benchmarks performance difference was

devstat overhead VS precision

2013-04-13 Thread Alexander Motin
to the timecounter performance: http://people.freebsd.org/~mav/devstat_time.patch Are there any objections against it? -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe

Re: kern/175323: Fail to use ZVOL as a gmirror component

2013-01-22 Thread Alexander Motin
if (error == 0 && i != 0) disk->d_flags |= G_MIRROR_DISK_FLAG_CANDELETE; if (md->md_provider[0] != '\0') disk->d_flags |= G_MIRROR_DISK_FLAG_HARDCODED; -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: kern/147667: [gmirror] Booting with one component of a gmirror, then with the other leads to an inconsistent gmirror device.

2013-01-15 Thread Alexander Motin
The following reply was made to PR kern/147667; it has been noted by GNATS. From: Alexander Motin To: bug-follo...@freebsd.org, sven.kirm...@kzone.ch Cc: Subject: Re: kern/147667: [gmirror] Booting with one component of a gmirror, then with the other leads to an inconsistent gmirror device

Re: kern/170038: [geom] geom_mirror always starts degraded after reboot

2013-01-15 Thread Alexander Motin
The following reply was made to PR kern/170038; it has been noted by GNATS. From: Alexander Motin To: bug-follo...@freebsd.org, frankrep...@googlemail.com Cc: Subject: Re: kern/170038: [geom] geom_mirror always starts degraded after reboot Date: Tue, 15 Jan 2013 10:34:16 +0200 That is

Re: kern/169539: [geom] [patch] fix ability to run gmirror on MSI MegaRaid (/dev/ar* vs /dev/gm*)

2013-01-14 Thread Alexander Motin
The following reply was made to PR kern/169539; it has been noted by GNATS. From: Alexander Motin To: bug-follo...@freebsd.org, al...@alter.org.ua Cc: Subject: Re: kern/169539: [geom] [patch] fix ability to run gmirror on MSI MegaRaid (/dev/ar* vs /dev/gm*) Date: Tue, 15 Jan 2013 03:40:23

Re: [RFC] CAM/GEOM media change notification

2012-07-26 Thread Alexander Motin
On 24.07.2012 10:49, Andriy Gapon wrote: on 23/07/2012 16:42 Alexander Motin said the following: Patch can be found here: http://people.freebsd.org/~mav/mediachange8.patch Any comments/objections/propositions? Alexander, would it make sense for scsi_cd to also use GET EVENT STATUS

Re: geom <-> cam disk

2012-07-25 Thread Alexander Motin
32 command slots per port can be enough for many workloads to enqueue all commands to the hardware and leave queue empty as you've described. But if you take harder workload, or controller/ device without command queueing support, extra requests will

[RFC] CAM/GEOM media change notification

2012-07-23 Thread Alexander Motin
ESTROY cdev=msdosfs/NIKON D7000 Patch can be found here: http://people.freebsd.org/~mav/mediachange8.patch Any comments/objections/propositions? -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: FreeBSD 9-R amd64 - graid, should it survive 'pulling' a disk?

2012-05-11 Thread Alexander Motin
On 11.05.2012 15:59, Karl Pielorz wrote: --On 11 May 2012 14:32 +0300 Alexander Motin wrote: Yes, sometimes bubble and in rare cases panic. I am working on the first part right now. Is the same true for reads? No, On read error graid repeats reading from another disk and does remapping

Re: FreeBSD 9-R amd64 - graid, should it survive 'pulling' a disk?

2012-05-11 Thread Alexander Motin
On 11.05.2012 14:08, Karl Pielorz wrote: --On 10 May 2012 18:26 +0300 Alexander Motin wrote: This panic is not in graid code, but it can be called a problem of the graid's RAID1 implementation. If some disk returns _write_ failure, that failure may now be reported to higher levels. Probl

Re: Teaching gmultipath about path cost/priority

2012-05-10 Thread Alexander Motin
On 10.05.2012 19:36, Trent Nelson wrote: On Thu, May 10, 2012 at 08:41:28AM -0700, Alexander Motin wrote: Hi. > It'd be ideal if there was a way of teaching gmultipath about a path > cost/priority, so that it can make an informed decision about which > path to choose

Re: Teaching gmultipath about path cost/priority

2012-05-10 Thread Alexander Motin
as all paths have exactly the same metadata and provider names are not mentioned there, separate paths properties are not possible at this moment. As dirty workaround, you may periodically run some script to enforce active path on your specific preference. -- A

Re: FreeBSD 9-R amd64 - graid, should it survive 'pulling' a disk?

2012-05-10 Thread Alexander Motin
t nearest time. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: kern/165745: [geom] geom_multipath page fault on removed drive

2012-03-13 Thread Alexander Motin
The following reply was made to PR kern/165745; it has been noted by GNATS. From: Alexander Motin To: bug-follo...@freebsd.org, woll...@csail.mit.edu Cc: Subject: Re: kern/165745: [geom] geom_multipath page fault on removed drive Date: Tue, 13 Mar 2012 17:37:28 +0200 New GEOM_MULTIPATH code

Re: Bootable RAID10 on 9.0-RELEASE

2012-02-02 Thread Alexander Motin
Hi. > I expect there must be an easier way. If your system has one of supported software RAID BIOSes (Intel, AMD/Promise, NVIDIA, SiI, JMicron), you may just use geom_raid to boot from it's RAID10 volume with no additional magic. -- Alexand

Re: RFC: GEOM MULTIPATH rewrite

2012-01-20 Thread Alexander Motin
On 01/20/12 15:27, Nikolay Denev wrote: On Jan 20, 2012, at 2:31 PM, Alexander Motin wrote: On 01/20/12 14:13, Nikolay Denev wrote: On Jan 20, 2012, at 1:30 PM, Alexander Motin wrote: On 01/20/12 13:08, Nikolay Denev wrote: On 20.01.2012, at 12:51, Alexander Motinwrote: On 01/20/12

Re: RFC: GEOM MULTIPATH rewrite

2012-01-20 Thread Alexander Motin
On 01/20/12 14:13, Nikolay Denev wrote: On Jan 20, 2012, at 1:30 PM, Alexander Motin wrote: On 01/20/12 13:08, Nikolay Denev wrote: On 20.01.2012, at 12:51, Alexander Motin wrote: On 01/20/12 10:09, Nikolay Denev wrote: Another thing I've observed is that active/active probably only

Re: RFC: GEOM MULTIPATH rewrite

2012-01-20 Thread Alexander Motin
On 01/20/12 13:08, Nikolay Denev wrote: On 20.01.2012, at 12:51, Alexander Motin wrote: On 01/20/12 10:09, Nikolay Denev wrote: Another thing I've observed is that active/active probably only makes sense if you are accessing single LUN. In my tests where I have 24 LUNS that form 4 vde

Re: RFC: GEOM MULTIPATH rewrite

2012-01-20 Thread Alexander Motin
/active devices without knowledge about each other with some probability will send part of requests via the same links, while ZFS itself already does some balancing between vdevs. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://li

Re: RFC: GEOM MULTIPATH rewrite

2011-11-02 Thread Alexander Motin
On 10/31/11 22:10, Alexander Motin wrote: > Attempt to fix some GEOM MULTIPATH issues made me almost rewrite it. So > I would like to present my results and request for testing and feedback. > > The main changes: > - Improved locking and destruction process to fix crashe

Re: RFC: GEOM MULTIPATH rewrite

2011-11-01 Thread Alexander Motin
bably just look through the built-in help, see "create", and then use it. > (I'm guilty as charged here, I didn't realize at first that I was using > manual mode.) It is a somewhat unified among several GEOM classes that label is for automatic method and create is for ma

Re: RFC: GEOM MULTIPATH rewrite

2011-11-01 Thread Alexander Motin
On 11/01/11 14:39, Pawel Jakub Dawidek wrote: > On Mon, Oct 31, 2011 at 10:10:14PM +0200, Alexander Motin wrote: >> Attempt to fix some GEOM MULTIPATH issues made me almost rewrite it. So >> I would like to present my results and request for testing and feedback. >>

RFC: GEOM MULTIPATH rewrite

2011-10-31 Thread Alexander Motin
~mav/gmultipath4.patch Feedbacks are welcome! Sponsored by: iXsystems, Inc. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: RFC: Project geom-events

2011-10-05 Thread Alexander Motin
idea, IMHO. And what if class is not loaded/supported? There should be a way to manage/clear that label. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: RFC: Project geom-events

2011-10-05 Thread Alexander Motin
ge metadata format for these GEOMs, so it will not be > backward-compatible. > > And, yes, it seems to be much more intrusive change in GEOM > subsystem (because it will change tasting sequence), and should be > supervised by other developers from very beginning. > > I co

Re: RFC: Project geom-events

2011-10-04 Thread Alexander Motin
o prevent disk resurrection in most cases. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Re: RFC: Project geom-events

2011-10-04 Thread Alexander Motin
d itself) is tightly hardcoded to talk to ZFS, fetching statuses and making control actions. Not sure whether this functionality could be scripted within geom-events, but having single mechanism indeed would be nice. -- Alexander Motin ___ freebsd-geom@fr

Re: geom_raid tasting providers that can't be raw disks

2011-06-23 Thread Alexander Motin
Gavin Atkinson wrote: > On Thu, 23 Jun 2011, Alexander Motin wrote: >> On 23.06.2011 20:53, Gavin Atkinson wrote: >>> While debugging a problem that looks like it was unrelated to geom_raid, >>> I realised that it tastes all providers, including each partition and &

Re: geom_raid tasting providers that can't be raw disks

2011-06-23 Thread Alexander Motin
ady, putting it in GENERIC may at least help slightly... Aggressive tasting for each metadata format was actually the reason why I haven't added it. If we load all GEOM modules, then some floppy tasting will take ages. -- Alexander Motin ___ freebsd

Re: gpart sizes way off

2011-06-20 Thread Alexander Motin
set in case if user specified wanted alignment on command line. Proper fix I think would be in adding there: offset %= alignment; -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To u

RFC: graid, first step done.

2011-03-06 Thread Alexander Motin
. Special thanks to Cisco Systems, Inc. and iXsystems, Inc. for sponsoring this project. -- Alexander Motin ___ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd