On Tue, Feb 21 2012 at 9:41am -0500,
Mike Snitzer <snitzer@redhat.com> wrote:
> On Tue, Feb 21 2012 at 7:31am -0500,
> Martin K. Petersen <martin.petersen@oracle.com> wrote:
> > PS. The good news is that your async stuff works when I set phys_segs to
> > 1 in sd.
>
> Yeah, it worked with the patch I provided in my previous mail too. But
> ultimately the async stuff wasn't working for me due to merging.
(not related to async interface but...)
After further testing (iSCSI from with a guest) it is clear that we
still have a problem with REQ_WRITE_SAME bios being merged into WRITE
requests (I added a debugging WARN_ON_ONCE to generate the following):
This patch fixes it for me, please feel free to add it to your series:
From: Mike Snitzer <snitzer@redhat.com>
Date: Tue Feb 21 13:55:42 2012 -0500
block: disallow certain bios from being merged into a request
Not all WRITE bios are pure WRITEs (there may be other flags set,
e.g. REQ_WRITE_SAME). Introduce bio_mergeable() and have
blk_rq_merge_ok() check that a given bio is mergeable.
Vivek> First we returned "false" from bio_has_data() and skipped above
Vivek> assignment, in blk_rq_bio_prep() and now we are trying to make up
Vivek> for it.
Vivek> Maybe returning false from bio_has_data() for WRITE_SAME is not
Vivek> such a good idea because this bio has one logical block of data.
bio_has_data() is used for two different things. In my current tree I
split it up into bio_has_data() and bio_is_rw().
But given Mike's merge observation I think I'll take a step back and see
if I can come up with a better way to handle these
REQ_I_CANT_BELIEVE_ITS_NOT_FS requests in general. I really don't want
to have all the special cases scattered all over the place.
--
Martin K. Petersen Oracle Linux Engineering
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
02-21-2012, 07:19 PM
Nowardev-Team
Application: python2 (1.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.0-15-generic-pae i686
Distribution: Ubuntu precise (development branch)
-- Information about the crash:
i was doing
ubuntu-bug telepathy-mission-control-5
it opened firefox and => crash after a while XD
*
The crash can be reproduced every time.
-- Backtrace:
Application: Apport KDE (python2.7), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7 0xb7799424 in __kernel_vsyscall ()
#8 0xb73ab1ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#11 0xb73a4147 in __GI___assert_fail (assertion=0xb5304d39 "ret != inval_id", file=0xb5304caa "../../src/xcb_io.c", line=528, function=0xb5304dbe "_XAllocID") at assert.c:103
#12 0xb528d4af in _XAllocID () from /usr/lib/i386-linux-gnu/libX11.so.6
#13 0xb53a1289 in XRenderCreatePicture () from /usr/lib/i386-linux-gnu/libXrender.so.1
#14 0xb5779a54 in QX11PixmapData::x11ConvertToDefaultDepth (this=0xa157c48) at image/qpixmap_x11.cpp:2255
#15 0xb5720af4 in QWidgetPrivate::setWindowIcon_sys (this=0xa0ac738, forceReset=false) at kernel/qwidget_x11.cpp:1539
#16 0xb56c740f in QWidget::create (this=0xa20ab90, window=0, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget.cpp:1539
#17 0xb56c7aa3 in QWidgetPrivate::createWinId (this=0xa0ac738, winid=0) at kernel/qwidget.cpp:2564
#18 0xb56d0779 in QWidget::winId (this=0xa20ab90) at kernel/qwidget.cpp:2522
#19 0xb3b31bda in KDialog::setPlainCaption (this=0xa20ab90, caption=...) at ../../kdeui/dialogs/kdialog.cpp:493
#20 0xb3b367e0 in KDialogPrivate::init (this=0xa1d1ef8, q=0xa20ab90) at ../../kdeui/dialogs/kdialog.cpp:181
#21 0xb3b369da in KDialog::KDialog (this=0xa20ab90, parent=0x0, flags=...) at ../../kdeui/dialogs/kdialog.cpp:192
#22 0xb3b4cd61 in informationListWId (options=..., dontShowAgainName=..., caption=..., strlist=..., text=..., parent_id=0) at ../../kdeui/dialogs/kmessagebox.cpp:987
#23 KMessageBox::informationListWId (parent_id=0, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:979
#24 0xb3b4d05b in KMessageBox::informationList (parent=0x0, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:976
#25 0xb3b4d0c0 in KMessageBox::information (parent=0x0, text=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:963
#26 0xb42e8dab in meth_KMessageBox_information (sipArgs=(None, u'Unable to start web browser to open https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-control-5/+filebug/13f7ab92-5cc7-11e1-aaf8-002481e7f48a?.', u'Unable to start web browser')) at sip/kdeui/sipkdeuipart4.cpp:25733
#27 0x080f7533 in PyEval_EvalFrameEx ()
#28 0x080f7aa0 in PyEval_EvalFrameEx ()
#29 0x080f7aa0 in PyEval_EvalFrameEx ()
#30 0x080f7aa0 in PyEval_EvalFrameEx ()
#31 0x080fd4c4 in PyEval_EvalCodeEx ()
#32 0x080f7b67 in PyEval_EvalFrameEx ()
#33 0x080f7aa0 in PyEval_EvalFrameEx ()
#34 0x080fd4c4 in PyEval_EvalCodeEx ()
#35 0x0808c882 in function_call ()
#36 0x0805ded1 in PyObject_Call ()
#37 0x08073aed in instancemethod_call ()
#38 0x0805ded1 in PyObject_Call ()
#39 0x080f6d7e in PyEval_CallObjectWithKeywords ()
#40 0x08077cd6 in PyInstance_New ()
#41 0x0805ded1 in PyObject_Call ()
#42 0x080f7f01 in PyEval_EvalFrameEx ()
#43 0x080fd4c4 in PyEval_EvalCodeEx ()
#44 0x080fde37 in PyEval_EvalCode ()
#45 0x0811a790 in run_mod ()
#46 0x0811b3a9 in PyRun_FileExFlags ()
#47 0x0811befc in PyRun_SimpleFileExFlags ()
#48 0x0812c226 in Py_Main ()
#49 0x0805dcab in main ()
--
kubuntu-devel mailing list
kubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
02-21-2012, 08:31 PM
"Martin K. Petersen"
>>>>> "Mike" == Mike Snitzer <snitzer@redhat.com> writes:
>> Yeah, it worked with the patch I provided in my previous mail too.
>> But ultimately the async stuff wasn't working for me due to merging.
New writesame3 branch on kernel.org. Please give it a whirl...
--
Martin K. Petersen Oracle Linux Engineering
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
02-21-2012, 08:58 PM
"David C. Rankin"
On 02/21/2012 03:44 PM, Daenyth wrote:
Install abs and look in /usr/share/pacman/ at the proto PKGBUILDs. You
may also want to look at "newpkg", from pkgtools.
for i in $(find /var/abs -name PKGBUILD); do if grep "git clone" $i; then echo
"found in $i"; fi; done
was the ticket!
--
David C. Rankin, J.D.,P.E.
02-21-2012, 09:09 PM
John K Pate
>
> for i in $(find /var/abs -name PKGBUILD); do if grep "git clone" $i; then echo
> "found in $i"; fi; done
>
> was the ticket!
grep -l "git clone" /var/abs/*/*/PKGBUILD
or if you're uncertain about the directory structure
==
John K Pate http://homepages.inf.ed.ac.uk/s0930006/
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
02-21-2012, 10:36 PM
Mike Snitzer
On Tue, Feb 21 2012 at 4:31pm -0500,
Martin K. Petersen <martin.petersen@oracle.com> wrote:
> >>>>> "Mike" == Mike Snitzer <snitzer@redhat.com> writes:
>
> >> Yeah, it worked with the patch I provided in my previous mail too.
> >> But ultimately the async stuff wasn't working for me due to merging.
>
> New writesame3 branch on kernel.org. Please give it a whirl...
Looks good. And it works great (with both your improved
blkdev_issue_write_same interface and the dm_kcopyd_zero interface).
Please feel free to add my Acked-by: Mike Snitzer <snitzer@redhat.com>
to the entire set.
(and thanks for working with me on chasing down and/or explaining the
various issues I was seeing!)
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
02-22-2012, 08:07 AM
Arch Website Notification
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 0 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 18 packages missing signoffs
* 2 packages older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== Incomplete signoffs for [community] (18 total) ==