Coder Social home page Coder Social logo

udev event storm - s390x about libblockdev HOT 3 CLOSED

dbungert avatar dbungert commented on August 16, 2024
udev event storm - s390x

from libblockdev.

Comments (3)

tbzatek avatar tbzatek commented on August 16, 2024 1

Short term, do you believe that disabling this code block is safe? Some info would be lost - part_type potentially for the non-ID_PART_TABLE_TYPE case if that part_type is gpt or msdos, but I think it would cut off the loop for now.

It was added recently for this UDF+VFAT corner case: storaged-project/udisks#1110. It was expected that the udev attributes are present in most cases. You can remove temporarily on your side without any significant impact. We'll fix the libblockdev side anyway.

from libblockdev.

tbzatek avatar tbzatek commented on August 16, 2024

Good catch! Seems like we should differentiate readonly scenarios for fdisk_assign_device() in case of public getter functions.

from libblockdev.

dbungert avatar dbungert commented on August 16, 2024

Good catch! Seems like we should differentiate readonly scenarios for fdisk_assign_device() in case of public getter functions.

Thanks! I do think it would be healthy for libblockdev to differentiate the read-only and read-write use cases, to reduce spurious watch events.

Short term, do you believe that disabling this code block is safe? Some info would be lost - part_type potentially for the non-ID_PART_TABLE_TYPE case if that part_type is gpt or msdos, but I think it would cut off the loop for now.
https://github.com/storaged-project/udisks/blob/c7027d888c00381851d918f33a13102e7b86e188/src/udiskslinuxpartitiontable.c#L151-L170

from libblockdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.