Skip to contentSkip to conversation

udev: don't mount with -o sync

PATCH New [email protected] 1 participant 2 messages Sep 21, 2012

lore
Share & tools
lore
#0 lore raw

cover udev: don't mount with -o sync

From: Tom Zanussi <[email protected]>

This is the same patch that exists in master and that fixes a problem with slow writes still seen in denzil; the only change I made was to match the PR bump to denzil.

Fixes [YOCTO #3049]

The following changes since commit 65ffa7395055f7e012cb973f63f92380828eed0d:

yocto-bsp: use base branches for qemu 'newbranch' case (2012-08-21 11:35:22 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/denzil-mount-nosync
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/denzil-mount-nosync

Jesse Zhang (1):
udev: don't mount with -o sync

 meta/recipes-core/udev/udev/mount.sh | 2 +-
 meta/recipes-core/udev/udev_164.bb   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/1 udev: don't mount with -o sync

From: Jesse Zhang <[email protected]>

mount.sh mounts all partitions with -o sync, which is bad for system performance.

(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)

---
 meta/recipes-core/udev/udev/mount.sh | 2 +-
 meta/recipes-core/udev/udev_164.bb   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/udev/udev/mount.sh +1 -1
index 53fefa3..c13b8bb 100644
@@ -23,7 +23,7 @@ automount() {
 
 	! test -d "/media/$name" && mkdir -p "/media/$name"
 	
-	if ! $MOUNT -t auto -o sync $DEVNAME "/media/$name"
+	if ! $MOUNT -t auto $DEVNAME "/media/$name"
 	then
 		#logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
 		rm_dir "/media/$name"
meta/recipes-core/udev/udev_164.bb +1 -1
index c5813ec..0462ff2 100644
@@ -1,6 +1,6 @@
 include udev.inc
 
-PR = "r13"
+PR = "r14"
 
 SRC_URI += "file://udev-166-v4l1-1.patch"
 
Signature · 1 line
1.7.11.4