search for: enomedium

Displaying 7 results from an estimated 7 matches for "enomedium".

2013 Mar 21
4
[PATCH] btrfs-progs: make btrfs dev scan multi path aware
...6c32 100644 --- a/utils.c +++ b/utils.c @@ -1105,25 +1105,32 @@ again: if (!S_ISBLK(st.st_mode)) { continue; } - fd = open(fullpath, O_RDONLY); + fd = open(fullpath, O_RDONLY|O_EXCL); if (fd < 0) { /* ignore the following errors: ENXIO (device don''t exists) ENOMEDIUM (No medium found -> like a cd tray empty) + EBUSY (when mp disk is opened + using non-mp path). */ - if(errno != ENXIO && errno != ENOMEDIUM) + if(errno != ENXIO && errno != ENOMEDIUM && + errno != EBUSY) fprintf(stderr, "failed to rea...
2020 Sep 01
10
remove revalidate_disk()
Hi Jens, this series removes the revalidate_disk() function, which has been a really odd duck in the last years. The prime reason why most people use it is because it propagates a size change from the gendisk to the block_device structure. But it also calls into the rather ill defined ->revalidate_disk method which is rather useless for the callers. So this adds a new helper to just
2011 Oct 31
1
New integration branch for btrfs-progs
...(3): btrfs-progs: ignore -a option in mkfs btrfs-progs: ignore deleted loop devices btrfs-progs: pass correct build option for pthreads Goffredo Baroncelli (9): Add the --force option. mkfs.btrfs man page: document the --force option. Ignore the error ENXIO and ENOMEDIUM during a devs scan Add info for the commands. Add the header/footer/introduction of the man page. helpextract: tool to extract the info for the help from the source. Update the makefile for generating the man page. Show the help messages from the info in the comment....
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
This is an attempt to fix the issue that some disks' sysfs attributes are not ready at the time its KOBJ_ADD event is sent. The symptom is during device hotplug, udev may fail to find certain attributes, such as serial or wwn, of the disk. As a result the /dev/disk/by-id entries are not created. The cause is device_add_disk emits the uevent before returning, and the callers have to create
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
This is an attempt to fix the issue that some disks' sysfs attributes are not ready at the time its KOBJ_ADD event is sent. The symptom is during device hotplug, udev may fail to find certain attributes, such as serial or wwn, of the disk. As a result the /dev/disk/by-id entries are not created. The cause is device_add_disk emits the uevent before returning, and the callers have to create
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...ructure needs cleaning" ENOTNAM (118) => "Not a XENIX named type file" ENAVAIL (119) => "No XENIX semaphores available" EISNAM (120) => "Is a named type file" EREMOTEIO (121) => "Remote I/O error" EDQUOT (122) => "Quota exceeded" ENOMEDIUM (123) => "No medium found" EMEDIUMTYPE (124) => "Wrong medium type" ECANCELED (125) => "Operation Canceled" ENOKEY (126) => "Required key not available" EKEYEXPIRED (127) => "Key has expired" EKEYREVOKED (128) => "Key has been...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux